Extends: TextureButton
A hotspot that reacts to inventory items and features a special mouse cursor when no item is selected
export var visibility_state: String = ""
Show this hotspot depending on the boolean value of this state variable
export var valid_inventory_items: Array = []
The list of valid inventory items that can be used on this hotspot
export var show_indicator = true
Whether to show the hotspot indicator or not
func on_mouse_entered()
If an inventory item was selected and it is in the list of valid inventory items, show it as active
- signal item_used(item): Emitted when a validitem was used on the hotspot