Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
unity get x position
Eugene Bjorn
Programming language:
C#
2021-03-22 07:15:44
4
Q:
unity get x position
Dhrumit Patel
Code:
C#
2021-01-24 09:27:07
float x = transform.position.x;
1
Shaymaa Halaby
Code:
C#
2021-03-20 09:22:14
transform.position = new Vector3(x, y, z);
1
Tags
unity
get
position
Related
get position of any gameobject in unity
unity line renderer position count
unity position ui element
unity ray from mouse position
unity get max occurrence in list
unity get mouse position
unity3d find y position on navmesh
unity how to set an objects postion x,y,z
unity c# find object position in array
unity get velocity at point
unity how to get y value
how to reference the position of a game object unity
New to Communities?
Join the community