Shared UI interaction helper for placeable UI components. Provides consistent pressed/hover/normal state interaction for placeable views and list entries. Handles mouse interactions and visual feedback to ensure consistent user experience. Uses theme file for style definitions while managing state transitions.
Source: addons/grid_placement/ui/placeable/shared/placeable_ui_interaction.gd
Syntax
class PlaceableUIInteraction extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
init | Method | |
set_enabled | Method | |
mouse_event | Property | |
clicked | Event | Allow external objects to connect to click events |
cleanup | Method |