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 use Vector2?

I'm trying to set my AbsolutePosition of a GUI to be something new, but it said I had to use Vector2 to do this. I tried to set it to Vector2.new(120, 200), but it came up with an error saying "can't set value". Any help?

2 answers

✓ Accepted answer

Try using UDim2.new(120,200)

1 comment

0

Thank you, works great.

Try

Udim2.new(120,0,120,0)

1 comment

0

It goes Scale, Offset, Scale, Offset. This answer would almost never be applicable.

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