Skip to content

Class

DragServiceDependencies

Generated GDScript class reference for GridPlacement.DragServiceDependencies.

Status
Current
Version
v6.2.1
Source updated
2026-09-24
Generated on
2026-10-22

Typed dependency callbacks for DragService. Replaces raw Callable members so the compiler catches signature mismatches at compile time instead of relying on runtime Callable.is_valid() guards. The host passes three closures with stable signatures; this class documents that contract in one place.

Source: addons/grid_placement/services/drag_service_dependencies.gd

Syntax

class DragServiceDependencies extends RefCounted

Members

NameKindSummary
has_selected_placeablePropertyReturns true when a placeable is selected for the active session.
get_brush_shapePropertyReturns the current brush shape for the active session (or -1 if none).
try_buildPropertyDispatches an object placement build for the active session.
is_validMethod