Getting coordinates from vectors (SOLVED)

How do you get the specific x,y,z coordinates from a vector?
Like how would I save just the x coordinate as a variable for example?

local my_vector = vmath.vector3(78, 42, 61)
local x = my_vector.x -- 78
local y = my_vector.y -- 42
local z = my_vector.z -- 61
4 Likes

Thank you