API Region GetBottom

Returns the distance from the bottom/left edge of the screen to the requested edge of an object, scaled with the objects's effective scale.

offset = MyObject:GetBottom; offset = MyObject:GetTop; offset = MyObject:GetLeft; offset = MyObject:GetRight;

Returns

 * offset: Number - distance between the bottom or left side of screen, respectively, to the requested edge of the object, in pixels, scaled according to effective scale. Or nil if the object has not been positioned, or ClearAllPoints has been called on it.

Example
local playerFrameBottom = PlayerFrame:GetBottom; local playerFrameTop   = PlayerFrame:GetTop; local playerFrameLeft  = PlayerFrame:GetLeft; local playerFrameRight = PlayerFrame:GetRight; playerFrameBottom: 650 playerFrameTop:   780 playerFrameLeft:   20 playerFrameRight: 180