Skip to content

Class

Manipulatable

Generated GDScript class reference for GridPlacement.Manipulatable.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

Makes a placed object movable, rotatable, flippable, and demolishable. Add it as a child of the object and point root at the object. settings decides which actions are allowed.

Source: addons/grid_placement/components/manipulatable.gd

Syntax

class Manipulatable extends PlacementSystemsComponent

Members

NameKindSummary
keep_during_previewFieldMarks this script to be kept on preview instances during placement.
manipulation_finishedSignalEmitted when a move or other manipulation of this 2D object finishes, so the object can react. Passes the transform before and after.
manipulation_finished_3dSignal3D version of manipulation_finished.
settingsPropertyWhich actions are allowed on this object (move, rotate, flip, demolish) and the extra rules a move must pass.
build_cost_rulePropertyOptional. The cost rule used to work out the refund when this object is demolished. Point it at the same SpendMaterialsRuleById resource used to build the object so the cost is defined in one place.

Objects placed from a ScenePlacementEntry can leave this empty; their cost is found through SceneEntryInstance. See BuildCost.resolve_for().
rootPropertyThe object that gets moved, rotated, flipped, or demolished. Usually the parent of this node.
resolve_placement_dependenciesMethod
is_root_hierarchy_validMethod
create_copyMethod
get_move_rulesMethod
is_demolishableMethod
is_movableMethod
validate_setupMethod
get_issuesMethod
complete_manipulationMethod
new_transformProperty
complete_manipulation_3dMethod
root_3dProperty