Invert

Bi-entity Action Type

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

Type ID: origins:invert

Fields

Field Type Default Description
action Bi-entity Action Type The bi-entity action to execute which will have its 'target' and 'actor' contexts swapped.

Examples

"bientity_action": {
    "type": "origins:invert",
    "action": {
        "type": "origins:mount"
    }
}

This example will mount the target entity onto the actor entity, as their roles are now swapped.