Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make UDim2 in a surfacegui move up half way on the brick then stay still?

I need the test surfacegui to go up half way then stay still. It currently just slides all the way up until you can't see it but I simply just want it to go up half way and stop. Can anyone help me?

The code is below!

test:TweenPosition(UDim2.new(0.5, 1, -10, 0), "Out", "Quad", 20, false, nil)

1 answer

✓ Accepted answer
test:TweenPosition(UDim2.new(0.5, 1, 0.5, 0), "Out", "Quad", 20, false, nil)

You set the X axis to 0.5, not the Y.

This discussion is preserved as it was. New answers, comments, and votes are closed.