I am making a game and for some reason the tween goes to the left top corner instead of directly up?
popup.Info:TweenPosition(
UDim2.new({0.5, 0},{0, 0}),
"Out",
"Quart",
2,
false
)
I am making a game and for some reason the tween goes to the left top corner instead of directly up?
popup.Info:TweenPosition(
UDim2.new({0.5, 0},{0, 0}),
"Out",
"Quart",
2,
false
)
Try this instead
popup.Info:TweenPosition(
UDim2.new({0.5, 0}, {0, 0}),
"Out",
"Quad",
0,
false
)
I never used TweenPosition function but this line caught my attention:
I never saw UDim2 declared like this
You should try changing it to UDim2.new(0.5, 0, 0, 0)
that just tweens it immediately/teleports it
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.