Check out example codes for "unity how to set an objects postion x,y,z". It will help you in understanding the concepts better.

Code Example 1

transform.position = new Vector3(x, y, z);

Learn ReactJs, React Native from akashmittal.com