This is an old revision of the document!
<- PRPL reference <- Everything Else 2
| Arguments | Result | Notation |
|---|---|---|
| float float | [ - float float ] |
Return the relative (from 0 to 1) position of the mouse on the screen, (0,0) = left-bottom corner, (1,1) = top-right corner.
GetMouseScreenPosition pop 0.5 gt if
#the mouse is in the upper half of the screen
endif