Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I move a GUI a certain amount of space to the right?

Asked by 4 years ago

THIS ISN'T A REQUEST

So, I have a variable which finds the exact amount of space that I want the GUI to move, this is found by doing:

robloxMovingLength = 1 / challengeLength

This then gives me a decimal number, which I want to keep exactly the same as it is stored in a variable. I also have an image label in which I want the RobloxMovingLength variable to move. However, how would I go about just moving it to the right? I thought I would do this using something such as UDIM2.new however, I can't think of how to make it perfectly go to the right that amount of spaces.

0
What do you mean? UDim2.new should work for this. Benbebop 1049 — 4y
0
Just replace the 4th value with robloxMovingLength. Benbebop 1049 — 4y

Answer this question