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 TilePaintRuleMembers
| Name | Kind | Summary |
|---|---|---|
error_message | Property | Message shown when the rule fails. The first %s is replaced with the cell and the second with the reason from the provider. |
get_supported_actions | Method | |
validate_cell | Method | |
validate_placement | Method |