Rect.Set(number x, number y, number width, number height)
Set components of an existing Rect.
Parameters:
Name | Type | Description |
---|---|---|
x | number | x |
y | number | y |
width | number | width |
height | number | height |
Usage
---@type Rect
local rect;
---@type number
local x;
---@type number
local y;
---@type number
local width;
---@type number
local height;
rect.Set(x, y, width, height)