Perspective
Checks the current perspective of the player.
Type ID: eggolib:perspective
Fields
Field | Type | Default | Description |
---|---|---|---|
perspective |
Perspective | optional | If specified, the condition will evaluate to true if the player has this set as their perspective. |
perspectives |
Array of Perspectives | optional | If specified, the condition will evaluate to true if the player has one of these set as their perspective. |
Examples
This example will check if the player is in first person perspective.