Moving (Entity Condition Type)
Checks whether the entity is currently moving.
Checks whether the entity is currently moving.
Type ID: apoli:moving
Fields
| Field | Type | Default | Description |
|---|---|---|---|
horizontally | Boolean | true | Determines whether to check if the entity is moving horizontally. |
vertically | Boolean | true | Determines whether to check if the entity is moving vertically. |
Examples
"condition": {
"type": "apoli:moving"
} This example will check if the entity is moving either horizontally or vertically.
"condition": {
"type": "apoli:moving",
"horizontally": false
} This example will check if the entity is only moving vertically.