Grid Placement

ManipulatableSettings

AUTO-GENERATED FILE — DO NOT EDIT MANUALLY

Source: placement/manipulatable_settings.gd

Version: 5.0

class_name: ManipulatableSettings extends: GBResource

Summary

Settings for object manipulation rules and placement requirements.

Signals

(none)

Exports

  • move_rules
    • Rules required for completing move actions. If [member ignore_base_rules] is [code]false[/code], these rules are combined with base rules from [member GBSettings.placement_rules].
  • ignore_base_rules
    • When [code]true[/code], skips base placement rules from [member GBSettings.placement_rules] and uses ONLY the rules defined in [member move_rules].

Use cases:

  • [code]false[/code] (default): Inherit common rules + add movement-specific rules
  • [code]true[/code]: Completely custom move validation (e.g., flying units ignore terrain)
  • rotatable
    • Marks whether the placeable preview should be allowed to be rotated left and right
  • flip_horizontal
    • Marks whether the placeable preview should be allowed to be flipped horizontally
  • flip_vertical
    • Marks whether the placeable preview should be allowed to be flipped vertically
  • movable
    • Whether the full object and all children is to be movable
  • demolishable
    • Whether the full object and all children is to be demolishable (intentionally destroyed)

Methods

  • get_editor_issues()
    • Returns an array of issues found during editor validation
  • get_runtime_issues()
    • Returns an array of issues found during runtime validation