Skip to content

Class

PositionerUIPolicy

Generated GDScript class reference for GridPlacement.PositionerUIPolicy.

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.

Decides whether a pointer press lands on UI and must not become a world click. Production positioners raycast in _input, which runs before the GUI consumes the event; without this check a catalog click whose ray hits a cell would emit a world click (spurious placement plus action-log failure lines). The live answer comes from the viewport hover state. Games whose UI never drives viewport hover inject a custom policy, and headless tests (hover needs a display) inject a stub.

Source: addons/grid_placement/systems/grid_targeting/positioner_ui_policy.gd

Syntax

class PositionerUIPolicy extends RefCounted

Members

NameKindSummary
is_over_uiMethod