Invert

Bi-entity Condition Type

Swaps the context of the target entity and the actor entity.

Type ID: origins:invert

Fields

Field Type Default Description
condition Bi-entity Condition Type The bi-entity condition type to check which will have its 'target' and 'actor' contexts swapped.

Examples

"bientity_condition": {
    "type": "origins:invert",
    "condition": {
        "type": "origins:can_see"
    }
}

This example will check if the target entity can see the actor entity, as the roles are now swapped.