GetHeight()The function returns a height of the screen/window. Example:
$Pony = #"pony.png" nScreenCenterX = GetWidth() / 2 nScreenCenterY = GetHeight() / 2 DrawImage(nScreenCenterX - GetImageWidth($Pony) / 2, nScreenCenterY - GetImageHeight($Pony) / 2, $Pony)This is how result would look like (red coordinates are just for reference):

See also: