Ad
Log in to vote
0

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

Asked by 7 months 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 407 — 7mo
0
Are you sure? I thought the third and fourth arguments for UDim2.new() were the y-scale and y-offset. Sparks 534 — 7mo

1 answer

Log in to vote
2
Answered by
Qub_lex 199 Moderation Voter
6 months 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