Chris' Tutorials
Docs/Grid Placement

Class

Manipulatable

Generated GDScript class reference for GridPlacement.Manipulatable.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

This is unreleased documentation in active development. APIs, class names, and behavior may change before the final release.

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Source: addons/grid_placement/components/manipulatable.gd

Syntax

class Manipulatable extends PlacementGameNode

Members

NameKindSummary
keep_during_previewFieldComponent node that makes a object movable, demolishable, or other system actions to be performed on the object Special marker that tells building system to keep this script during preview
manipulation_finishedEventEmitted when this object's manipulation is finished (placed/moved) This allows the root object to respond to being manipulated Parameters: - old_transform: Transform2D - The transform before manipulation - new_transform: Transform2D - The transform after manipulation
settingsPropertyRule settings for replacing this object in move mode, etc
build_cost_rulePropertyOptional build-cost label for refund-on-demolish: points at the same saved [SpendMaterialsRuleById] resource the placement pipeline spends from, so cost has one source of truth. Lives here (per-object node, not the shared [ManipulatableSettings] resource) because demolishability and refund value are the same concern — an object without a Manipulatable cannot be demolished at all. ScenePlacementEntry-backed scenes can leave this empty: [PlaceableInstance] already resolves their costs. See [method BuildCost.resolve_for] for the precedence order.
rootPropertyThe root of the object that should be manipulated by any actions. This manipulatable component is usually a child of the root.
resolve_placement_dependenciesMethod
get_loggerMethod
is_root_hierarchy_validMethod
currentProperty
create_copyMethod
copyProperty
copy_manipulatableProperty
get_move_rulesMethod
is_demolishableMethod
is_movableMethod
validate_setupMethod
issuesProperty
get_issuesMethod
issuesProperty
null_issuesProperty
complete_manipulationMethod
new_transformProperty
root_2dProperty

Source

addons/grid_placement/components/manipulatable.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs