TweenSizeAndPosition (Method)
From Legacy Roblox Wiki
Jump to navigationJump to search
![]() | |
Returns | bool success |
Description: | Smoothly moves a GUI to a new size and position. |
Member of: | GuiObject |
Example
local Frame = script.Parent.Frame Frame:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0,0,0,0))
This example tweens a frame to the top left of the parent's size and resizes it down to 0.