Files
Basalt/docs/objects/Object/setSize.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

352 B

setSize

Changes the object size

Parameters:

  1. number width
  2. number height

Returns:

  1. object The object in use

Usage:

  • Sets the frame to have a width of 15 and a height of 12
local mainFrame = basalt.createFrame()
local subFrame = mainFrame:addFrame():setSize(15,12)
<frame width="15" height="12" />