Private
constructorFunction callback that is called when this event fires.
Optional
options: HotbarEventOptionsAdditional filtering options for the event subscription.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
This function can't be called in read-only mode.
This function can be called in early-execution mode.
Manages callbacks that are connected after a player selected hotbar slot is changed.