Skip to content

Action Set Hotbar Slot

Changes the player's selected hotbar slot to a specific index (1-9).

Inputs: 1 · Outputs: Then

Settings

SettingTypeRequiredDefaultDescription
Player SelectorSelectYesTriggering PlayerThe target player(s) whose selected slot should be updated.
UsernameStringYesSpecified username when Player Selector is set to Specific.
PermissionStringYesTargeted players with this permission.
Hotbar SlotSliderYes1The hotbar slot to switch to (must be an integer from 1 to 9).

Example

Force a player to switch to their first slot (e.g. holding a primary tool or weapon):

  • Player Selector: Triggering Player
  • Hotbar Slot: 1

Oasis Admin Editor Documentation