Skip to content
ct

Class

DragPathData

Generated GDScript class reference for GridPlacement.DragPathData.

Status
Draft
Version
v6.0
Updated
Development docs generated from GDScript source

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

Drag for a single drag operation between a start and end position

Source: addons/grid_placement/systems/building/data/drag_path_data.gd

Syntax

class DragPathData

Members

NameKindSummary
start_positionProperty
current_positionProperty
time_heldProperty
drag_distanceProperty
last_tileProperty
target_tileProperty
next_tileProperty
last_attempted_tileProperty
build_requestsPropertyNumber of build requests made during this drag session. Incremented each time DragManager calls PlacementSystem.try_build(). Useful for monitoring drag-build behavior and verifying request throttling.
positionerProperty
targeting_stateProperty
is_draggingProperty
updateMethod
get_tile_at_node_2dMethod
stopMethod