in_region) allows you to check if a player is currently within one or more specific protected zones. This is useful for conditional actions, such as enabling specific menus only in certain areas.
Configuration
| Parameter | Type | Description |
|---|---|---|
regions | List<Ref<RegionDefinition>> | The list of regions to check against. |
Usage
This fact returnstrue if the player is standing inside any of the regions specified in the list.