712 B
712 B
size
Changes the size on the object which got defined by setObject
Parameters:
numberwidthnumberheightnumberduration in secondsnumbertime - time when this part should begin (offset to when the animation starts - default 0)tableobject - optional, you could also define the object here
Returns:
animationAnimation in use
Usage:
local mainFrame = basalt.createFrame()
local testButton = mainFrame:addButton("buttonToAnimate")
local aAnimation = mainFrame:addAnimation():setObject(testButton):size(15,3,1):play()
<animation object="buttonToAnimate" play="true">
<offset><w>15</w><h>3</h><duration>1</duration></offset>
</animation>