Skip to content

Class

ManipulationSettings

Generated GDScript class reference for GridPlacement.ManipulationSettings.

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.

Settings for moving, rotating, flipping, and demolishing placed objects, and the messages shown for each action.

Source: addons/grid_placement/systems/manipulation/manipulation_settings.gd

Syntax

class ManipulationSettings extends PlacementResource

Members

NameKindSummary
rotate_increment_degreesPropertyDegrees an object turns with each rotate left or right.
enable_demolishPropertyWhether demolish mode can remove objects. Each object also needs a Manipulatable that allows demolishing.
demolish_drag_box_enabledPropertyWhen on, players can drag a box in demolish mode to remove every object inside it on release. A click without dragging removes one object, and the PlacementActions.off_mode action cancels the box. When off, objects are removed as soon as they are clicked.
enable_rotatePropertyWhether objects can be rotated, both while moving and while previewing a build. Each object also needs ManipulatableSettings.rotatable.
enable_flip_horizontalPropertyWhether objects can be flipped horizontally, both while moving and while previewing a build.
enable_flip_verticalPropertyWhether objects can be flipped vertically, both while moving and while previewing a build.
reset_transform_on_manipulationPropertyWhen on, an object's rotation, flip, and scale are reset when a move starts. Useful for objects that turn during play, such as RigidBody2Ds, so they are placed the way the scene was built.
disable_layer_in_manipulationPropertyWhen on, disabled_physics_layer is turned off on the object while it is being moved.
disabled_physics_layerPropertyPhysics layer turned off on the object while it is moved. Use a layer that only placement checks use, not one that affects gameplay physics. Alternatively, pause the game when a move starts.
move_suffixPropertyText added to the name of the copy shown while an object is moved.
demolish_successPropertyShown when an object is demolished. In these messages, %s is replaced with the object's name.
failed_not_demolishablePropertyMessage when target cannot be demolished
demolish_already_deletedPropertyMessage when demolish target was already deleted
demolish_canceledPropertyShown when your game cancels a demolish by calling data.veto() from ManipulationState.pre_demolish.
move_startedPropertyMessage when move action starts
move_successPropertyMessage displayed when move succeeds
failed_to_start_movePropertyMessage when move fails to start
no_move_targetPropertyMessage when there is no move target
failed_placement_invalidPropertyMessage when placement at target location is invalid
target_not_rotatablePropertyMessage when target cannot be rotated
rotate_successPropertyMessage when a rotate succeeds
target_not_flippable_horizontallyPropertyMessage when target cannot be flipped horizontally
target_not_flippable_verticallyPropertyMessage when target cannot be flipped vertically
flip_horizontal_successPropertyMessage when a horizontal flip succeeds
flip_vertical_successPropertyMessage when a vertical flip succeeds
invalid_dataPropertyMessage when manipulation data is invalid
failed_manipulation_state_invalidPropertyMessage when manipulation state validation fails
failed_object_not_manipulatablePropertyMessage when object is not manipulatable
failed_object_not_movablePropertyMessage when object is not movable
failed_object_has_dependentsPropertyMessage when an object cannot be moved or rotated because other pieces are attached to it, such as paintings or roof pieces.
failed_root_not_assignedPropertyMessage when root node is not assigned
failed_root_not_node2DPropertyMessage when root is not a Node2D
failed_no_target_objectPropertyMessage when there is no target object
target_not_manipulatablePropertyMessage when target is not manipulatable
unsupported_node_typePropertyMessage for unsupported node types
get_editor_issuesMethod