#GumpPosY is the top edge of the window selected by #GumpIndex, as
#ContPosY gives it for the gump on top.
Reads N/A when no gump is selected: none is open, ScanGumps has not run, or #GumpIndex is past #GumpCnt.
Example
Section titled “Example”scangumpsset %x #GumpPosX + #GumpSizeXevent sysmessage The window in front ends at x = %xhalt