Skip to content

GBActions

Input action name definitions for plugin systems and UI.

off_mode: StringName = &“off_mode”

Action to exit build mode.

info_mode: StringName = &“info_mode”

Action for entering info mode.

build_mode: StringName = &“build_mode”

Action for entering build mode.

moving_mode: StringName = &“moving_mode”

Action for entering move mode.

demolish_mode: StringName = &“demolish_mode”

Action to enter demolish mode.

confirm_build: StringName = &“confirm”

Confirm a build.

confirm_manipulation: StringName = &“confirm”

Action for confirming an action to be taken within manipulation mode. Grid building plugin. What the confirmation does is context sensitive whether building with a preview instance, moving an existing object, or demolishing an object already within the scene.

rotate_right: StringName = &“rotate_right”

The preview instance to the right when triggered.

rotate_left: StringName = &“rotate_left”

Names of actions that the building system will rotate the preview instance to the left when triggered.

flip_horizontal: StringName = &“flip_horizontal”

Actions that flip the preview instance horizontally during build mode.

flip_vertical: StringName = &“flip_vertical”

Actions that flip the preview instance vertically during build mode

validate_action( p_action_name: StringName ) -> Array[String]
get_editor_issues( ) -> Array[String]

Make sure each action is set in the input map

get_runtime_issues( ) -> Array[String]

addons/grid_building/resources/actions/gb_actions.gd


This page was auto-generated from GDScript source. Edit the source file to improve documentation.

Generated on 2025-09-07