How to remove Item from `Item Hotbar`

Sangemdoko

Moderator
Staff member
For the ItemHotbar you can unassign a slot through code using:

UnassignItemFromSlots
or
ToggleAssignItemToSlot


The AssignHotbarItemAction has an option to toggleAssingn a slot.
 

Justus

Member
ToggleAssign is enough for my current use model.

But if use could move his cursor to ItemHotbar directly and click it. I hope there could has some out-of-box premade item action could unassign the selected item. Or AssignHotbarItemAction could already did this?
 
Top