Shared UI interaction helper for scene_entry UI components. Provides consistent pressed/hover/normal state interaction for scene_entry 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/scene_entry/shared/scene_entry_ui_interaction.gd
Syntax
class SceneEntryUIInteraction extends RefCountedMembers
| Name | Kind | Summary |
|---|---|---|
THEME | Field | |
init | Method | |
set_enabled | Method | |
set_selected | Method | |
clicked | Signal | Allow external objects to connect to click events |
cleanup | Method |
Tutorials built on Grid Placement
- Godot multiplayer grid placement: one host, four sessions
- Godot 2D grid building system: paint, place, save
- Godot 3D grid building system: the runtime loop
- Godot 4 grid-building plugins: build mode vs editor tools
- 3D room placement in Godot: build rooms and stack storeys
- 3D grid placement in Godot 4: full setup tutorial
- Snap to a TileMap in Godot: 2D grid placement
- How to make a farming system in Godot
- How to snap objects to a 3D grid in Godot