Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

What Variable of Tweenservice (Udim2) for Gui changes the position downwards?

Asked by 8 days ago

I've tried a lot I just dont really undertand what combo of the four numbers brings it down

WholeLabel:TweenPosition(UDim2.new(1, 0,0, 1), "Out", "Elastic", 5)
0
It would be the second “1” that is the Y value DarkDanny04 376 — 7d
0
Are you sure? I thought the third and fourth arguments for UDim2.new() were the y-scale and y-offset. Sparks 484 — 7d

1 answer

Log in to vote
1
Answered by
Qub_lex 124
7 days ago

UDim2 has four values:

UDim2.new(x_scale,x_offset,y_scale,y_offset)

Scale is a decimal value, example: 0.5. It "scales" the GUI down depending on what that value is.

Offset is an integer, example: 50. It stays the same size on all screens.

Ad

Answer this question