Chris' Tutorials
Docs/Grid Placement

Class

TargetingArea2D

Generated GDScript class reference for GridPlacement.TargetingArea2D.

StatusDraft
Versionv6.0
UpdatedDevelopment docs generated from GDScript source

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

Draft — Unreleased:This page is in active development. APIs, class names, and behavior may change before the release is finalized. Use it as a preview of what's coming — not as a stable integration target.

Encapsulates Area2D-based targeting logic as a reusable component Unlike ShapeCast2D which only detects PhysicsBody2D nodes, Area2D can detect other Area2D nodes

Source: addons/grid_placement/systems/grid_targeting/grid_positioner/targeting_area_2d.gd

Syntax

class TargetingArea2D extends Area2D

Members

NameKindSummary
debug_log_overlapsPropertyLocal debug flag: can be toggled per-instance in editor or by code
resolve_placement_dependenciesMethod
update_targetMethod
overlapping_areasProperty
new_targetProperty

Source

addons/grid_placement/systems/grid_targeting/grid_positioner/targeting_area_2d.gd

Plugin docs root:gdscript/plugins/grid_placement_dev/docs