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
| Type | Description |
|---|---|
#number | The x-coordinate of the control's screen-relative bounds. |
#number | The y-coordinate of the control's screen-relative bounds. |
#number | The width of the control's screen-relative bounds. |
#number | The height of the control's screen-relative bounds. |