Insets¶
Global · Insets · server and client scripts
Insets creates an immutable four-edge offset (Left, Top, Right, Bottom) used for UI padding, hit slop, safe areas, and nine-slice borders. To read edge values on a value, see Insets.
new¶
Insets.new creates an Insets from four finite numbers (left, top, right, bottom).
Example
all¶
Insets.all creates an Insets with all four edges set to n.
Zero¶
Insets.Zero is the zero Insets (0, 0, 0, 0).
Default Insets.new(0, 0, 0, 0)