I want to get the x,y, and z values of a position separately.
✓ ANSWER ACCEPTED
How do I get the y value of a vector3 position??
1 answer
✓ Accepted answer
Like this!
local vect = Vector3.new(1,2,3)
local x,y,z = vect.X,vect.Y,vect.Z
print(x..y..z) --should print 123
print(vect.X) --will print 1
1 comment
0
ty
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
you could click the accept answer button if my answer helped
I 'm new to the website;I don't know where to click/
Look under my name on the answer. See my character iimage? Look under that, and see the buttons. Look for the one that says accept answer
Don't see it.
Woops, I wasn't logged in for some reason.
oh lol