I keep getting this message "Out is not a valid member of UDim2" when I use this code:
script.Parent.Parent.Shop.CloseShopButton:TweenPosition(UDim2.new(1.15,-210,1,-60), "Out", "Linear", 0.5)
I copy and pasted the TweenPosition thing from another script that worked, with the exact some positions and everything, and there was no change. My references work too, I need help to find what the error is. "Out" Is usually always supposed to work like that.
First off I would use the Enums instead of strings so "Out" is an Enum Direction and "Linear" is an Enum style. It appears that this is what is causing the error as it can't use strings.
script.Parent.Parent.Shop.CloseShopButton:TweenPosition(UDim2.new(1.15,-210,1,-60), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.5)