Create functions to access vector3.