Answers for "tween size and position roblox udim2"

0

tween size and position roblox udim2

local frame = -- put whever ur frame is
-- unbelievable how grepper doesnt have lua

frame:TweenSizeAndPosition(
	UDim2.new(SIZE), -- tween size
    UDim2.new(POSITION), -- tween position
    Enum.EasingDirection.Out, -- easing direction
    Enum.EasingStyle.Quad, -- easing style
    3, -- time
    false, -- override already tweening position/size
    nil -- call a function when tweening is done?
)
Posted by: Guest on December-16-2020
-1

tweensizeandposition roblox

local frame = script.Parent

frame:TweenSizeAndPosition(
	Size : UDim2.new(0, 0, 0 0),
    Position : UDim2.new(0, 0, 0 0),
    EasingDirection : "Out",
    EasingStyle : "Linear",
    Tween Duration : 1,
	Override tween : true
    callback Function : foo
)
Posted by: Guest on October-03-2020

Browse Popular Code Answers by Language