Moving (Entity Condition Type)

Checks whether the entity is currently moving.

Checks whether the entity is currently moving.

Type ID: apoli:moving

Fields

FieldTypeDefaultDescription
horizontallyBooleantrueDetermines whether to check if the entity is moving horizontally.
verticallyBooleantrueDetermines 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.