Skip to main content
Version: 9.0.2

CONTROL:get_screen_bounds

CONTROL:get_screen_bounds()

Computes the screen-relative bounds for this control. Screen relative bounds are equivalent to the layer-relative bounds with layer translation and layer scrolling offsets applied.

Returns

TypeDescription
#numberThe x-coordinate of the control's screen-relative bounds.
#numberThe y-coordinate of the control's screen-relative bounds.
#numberThe width of the control's screen-relative bounds.
#numberThe height of the control's screen-relative bounds.