Skip to content

Class

ManipulationParent

Generated GDScript class reference for GridPlacement.ManipulationParent.

Status
Current
Version
v6.1.0
Source updated
2026-09-24
Generated on
2026-09-23

Transform container for preview objects during manipulation. Applies rotation and scale; children inherit the transform through the scene tree. This is the canonical transform parent used by GridPositioner2D and the GridPlacementHost pattern. 2D rule indicators stay axis-aligned: IndicatorManager keeps per-cell overlays free of this parent's transform so overlay art stays readable while the preview object itself inherits it (or frame-swaps). Isometric placement guides and docs/systems/parent_node_architecture.md cover parenting decisions.

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

Syntax

class ManipulationParent extends PlacementNode2D

Members

NameKindSummary
rotatedSignalEmitted after a rotation transform is applied, for every rotation path (grid clockwise/counter-clockwise and [method apply_rotation]), from both input-driven and programmatic ([ManipulationService2D]) callers. Consumers may swap a directional sprite instead of spinning the texture; that choice is entirely theirs (see the manipulation guide). [param new_rotation_degrees] Resulting [member Node2D.global_rotation_degrees]. [param cardinal] Best-effort nearest cardinal facing; most meaningful for 90-degree grid increments.
flippedSignalEmitted after a flip transform is applied. One signal for both axes; branch on [param axis] ([enum PlacementEnums.FlipAxis]). Mirrors the signal-consolidation direction of [signal ManipulationState.action_performed].
set_hostMethod
resetMethod
get_logical_rotation_degreesMethod
get_cardinalMethod
is_flipped_horizontallyMethod
is_flipped_verticallyMethod
apply_rotationMethod
apply_grid_rotation_clockwiseMethod
apply_grid_rotation_counter_clockwiseMethod
apply_horizontal_flipMethod
apply_vertical_flipMethod
is_rotation_transform_disabledMethod
handle_transform_inputMethod
failedProperty
target_mapProperty
failedProperty
target_mapProperty
failedProperty
failedProperty
resolve_placement_dependenciesMethod
get_runtime_issuesMethod