Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.
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 |
Source
addons/grid_placement/ui/placeable/shared/placeable_ui_interaction.gd
Plugin docs root:gdscript/plugins/grid_placement_dev/docs