Skip to content

#GumpPosY

VariableGumpsRead-onlyNumberNeeds clientNew in Reforged
Set by
ScanGumps

Also searchable as: #GumpPosY · GumpPosY · gump y

#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.

scangumps
set %x #GumpPosX + #GumpSizeX
event sysmessage The window in front ends at x = %x
halt

See also