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

Vector3 and Vector2

Asked by 10 years ago

Vector3 and Vector2 where would you use them and what is the difference.

2 answers

Log in to vote
1
Answered by 10 years ago

The difference is that Vector3 is 3D (3 Dimensional) Vector2 is 2D, therefor you would use Vector3 with parts.

Vector3(x, y, z) Vector2(x, y)

Ad
Log in to vote
3
Answered by 10 years ago

Vector2s are 2 dimensional, and are used for advanced GUI work. AbsoluteSize, AbsolutePosition, et cetera, are all Vector2s. More information can be found here: http://wiki.roblox.com/index.php?title=Vector2

Answer this question