A question about Gui tweening

hello everyone, so I was tweening my Gui and I ran into this problem

robloxapp-20210630-1457215.wmv (106.9 KB)

I want the Gui to tween from up but it does the opposite and starts from down which ruin the tween could anyone help?

local tweenservice = game:GetService("TweenService")
local tweeninfos = TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.In)
local pros = { Size = shopbuttonframe.Size + UDim2.new(0,0,0,-20)
local tween = tweenservice:Create(shopbuttonframe,tweeninfos,pros)
	shopbuttonframe.BackgroundColor3 = Color3.fromRGB(0,0,203)

Adjust the UI size to be 0,0,0,0 and move it down so it matches your final position. Then you would have to tween both the position and the size to make it work. FYI, you can use :TweenSize or :TweenPosition to make your job easier.

1 Like

im not that good when it comes to tweens could you tell me where should i put :TweenSize?
thank you

I cannot provide you with the whole script but I can provide you with the material provided above.