PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

GetGuiInset

Returns two DataType/Vector2 values representing the inset of user GUIs in pixels, from the top left corner of the screen and the bottom right corner of the screen respectively.

The inset values supplied by this function only take effect on ScreenGui|ScreenGuis that have their ScreenGui/IgnoreGuiInset|IgnoreGuiInset property set to false.

Returns

Return Type Summary

A tuple of two Vector2 values describing the current specified Gui Inset.