# } } float x = MovePos.x; float z = MovePos.z; float y = MovePos.y; Vector3 movement = new Vector3(x, y, z); float step = 0.1f; transform.position = Vector3.MoveTowards(transform.position, movement, step); ``` heres the code