Oficcer_F
(Oficcer_F)
#1
Hi.
I want to make a GUI animation that goes from top (not visible) to down and then covering the whole screen.
Like a blind you drag down.
My script now only goes from right and “shrinks” down to the left side.
Anyone know why?
My script now:
frame = game.StarterGui.ScreenGui.Frame
frame:TweenPosition(UDim2.new(-1,0,0,0), nil,Enum.EasingStyle.Linear, 5)
Rare_tendo
(Rare_tendo)
#2
From top to down, it should look like this:
frame.Position = UDim2.new(0, 0, -1, 0)
frame:TweenPosition(UDim2.new(0, 0, 1, 0), nil, Enum.EasingStyle.Linear, 5)
Recall the structure of UDim2’s:
UDim2.new(x_scale, x_offset, y_scale, y_offset)
1 Like
Oficcer_F
(Oficcer_F)
#3
Thank you. But I found out an easier way:
frame:TweenPosition(UDim2.new(0,-1,0,0), Enum.EasingDirection.In ,Enum.EasingStyle.Linear, 0.8)
1 Like