Skip to content
ct

Class

TargetingArea2D

Generated GDScript class reference for GridPlacement.TargetingArea2D.

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.

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