Gets the value of the player's position. You must specify the component that you want to check, eg. "Pos Y" to check the Y-position.

Format: Pos [component]

Arguments:

Return type: float

Error conditions: none

Details:

For "Pos X", the value is relative to the center of the stage (value 0). Negative is left, positive is right. For "Pos Y", the value is relative to the floor. Negative is higher up, positive is below the floor.

Example:

trigger1 = Pos Y >= 0 ; True when the player is below the floor.