Skip to content

Class

ProviderCellBlockRule2D

Generated GDScript class reference for GridPlacement.ProviderCellBlockRule2D.

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.

Blocks placement and painting on cells your game reports as blocked. Your game answers through a PlacementWorldFactsProvider2D, so you can use Godot physics, another physics engine, or your own simulation.

Source: addons/grid_placement/placement/placement_rules/template_rules/provider_cell_block_rule_2d.gd

Syntax

class ProviderCellBlockRule2D extends TilePaintRule

Members

NameKindSummary
error_messagePropertyMessage shown when the rule fails. The first %s is replaced with the cell and the second with the reason from the provider.
get_supported_actionsMethod
validate_cellMethod
validate_placementMethod