Inherits: Control
A UI control representing an inventory slot (ItemSlot
). Displays the texture of the set item and its name. If not item is set, it displays the given default texture.
item_slot_path: NodePath
- Path to anItemSlot
node.default_item_icon: Texture
- The default icon that will be used for items with noimage
property.icon_scaling: Vector2
- Item icon scaling.item_texture_visible: bool
- The item texture is displayed if set to true.label_visible: bool
- The item name label is displayed if set to true.item_slot: ItemSlot
- TheItemSlot
node linked to this control.
item_mouse_entered(InventoryItem)
- Emitted when the mouse enters theRect
area of the control representing the givenInventoryItem
.item_mouse_exited(InventoryItem)
- Emitted when the mouse leaves theRect
area of the control representing the givenInventoryItem
.