A toggle button that sends an input action, such as entering build mode, and shows as pressed while its mode is active. Turn on Toggle Mode.
Source: addons/grid_placement/ui/actions/placement_action_button.gd
Syntax
class PlacementActionButton extends PlacementButtonMembers
| Name | Kind | Summary |
|---|---|---|
press_action | Property | Input action sent when the button is pressed. Must exist in the Input Map. |
represented_mode | Property | The button shows as pressed while this mode is active. |
get_mode_state | Method | |
set_mode_state | Method | |
resolve_placement_dependencies | Method | |
get_runtime_issues | Method |