Top-Down GUI animation?

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(,0,0,0), nil,Enum.EasingStyle.Linear, 5)

From top to down, it should look like this:

frame.Position =, 0, -1, 0)
frame:TweenPosition(, 0, 1, 0), nil, Enum.EasingStyle.Linear, 5)

Recall the structure of UDim2’s:, x_offset, y_scale, y_offset)

1 Like

Thank you. But I found out an easier way:

frame:TweenPosition(,-1,0,0), Enum.EasingDirection.In ,Enum.EasingStyle.Linear, 0.8)

1 Like