When using transform.position in Update by itself it tracks where my game object is in real time. But once I put it in an if statement it stops working and only gives the original position before any movement.Mar 2022 ⋅ Rainbow-Eclipse ⋅ r/unity