Returns the Y coordinate of the left of the display panel
GETPANELYPOS returns the Y position of the display panel in screen coordinates. 0 is the top left corner of the screen.
Note that the user can generally move the display panel at any time (unless this has been specifically prevented), so you should not store the value returned by this statement for "long term" use. It is no more or less efficient to repeatedly use this statement instead of using it once and storing its value.
Parameters
None
Return Value
The Y position of the display panel in screen coordinates.
Example Code
// Store the current position of the panel
int Y = getpanelypos();