Gives the distance between the x-axis of the player and the edge of the screen in front of the player.

Format: FrontEdgeDist

Arguments:

Return type: float

Error conditions: none

Example:

trigger1 = FrontEdgeDist < 30
; Triggers if the x-axis of the player is within 30 pixels of the edge of the screen in front of him.