ManipulatableSettings
Summary
Section titled “Summary”Settings for object manipulation rules and placement requirements.
Properties
Section titled “Properties”move_rules: Array[TileCheckRule] = []
Rules required for completing move actions. If [member ignore_base_rules] is
false
, these rules are combined with base rules from [member GBSettings.placement_rules].ignore_base_rules: bool = false
When
true
, skips base placement rules from [member GBSettings.placement_rules] and uses ONLY the rules defined in [member move_rules].Use cases: -
false
(default): Inherit common rules + add movement-specific rules -true
: Completely custom move validation (e.g., flying units ignore terrain)rotatable: bool = false
Marks whether the placeable preview should be allowed to be rotated left and right
flip_horizontal: bool = false
Marks whether the placeable preview should be allowed to be flipped horizontally
flip_vertical: bool = false
Marks whether the placeable preview should be allowed to be flipped vertically
movable = true
Whether the full object and all children is to be movable
demolishable = true
Whether the full object and all children is to be demolishable (intentionally destroyed)
Methods
Section titled “Methods”func get_editor_issues( ) -> Array[String]
Returns an array of issues found during editor validation
func get_runtime_issues( ) -> Array[String]
Returns an array of issues found during runtime validation
Source
Section titled “Source”addons/grid_building/placement/manipulatable_settings.gd
This API reference is automatically generated from the plugin source code. For implementation examples and usage guides, see the guides section.