Skip to content

Class

IndicatorFactory2D

Generated GDScript class reference for GridPlacement.IndicatorFactory2D.

Status
Current
Version
v6.3.0
Source updated
2026-10-29
Generated on
2026-10-29

6.3. These pages document the 6.3 release, where placeable is now entry (what changed) and PlacementOwner is deprecated (migration). Still on 6.2? Your version's guides ship inside the plugin itself, under addons/grid_placement/guides/; the 6.2 URLs on this site now redirect to this series.

Creates and positions rule-check indicators for placement validation. Instances normally live under IndicatorManager, the scene-tree parent for rule-check indicators; manipulated objects belong under ManipulationParent. Collision results arrive as absolute tile positions and are converted to offsets relative to the test object, so indicators follow it when it moves. Guides: guides/placement-workflow.md, guides/custom-placement-rules.md

Source: addons/grid_placement/placement/manager/components/indicator_factory_2d.gd

Syntax

class IndicatorFactory2D extends RefCounted

Members

NameKindSummary
clear_static_stateMethod
DEFAULT_Z_INDEXFieldDefault indicator z_index, below the placement preview ghost (PlacementSettings.preview_instance_z_index, default 200) so the object silhouette stays readable. Overridable via PlacementSettings.indicator_z_index.
generate_indicatorsMethod
indicatorsProperty
rulesProperty
indicatorProperty
target_mapProperty
positioner_tileProperty
target_tileProperty
create_indicatorMethod
indicatorProperty
shape_valProperty
template_keyProperty