Coordinates in RectTransform
Contents
I had always been using position to get the value, but later I found that the code output didn’t match what the inspector displayed. So I pulled down the uGUI source code and read it, and only then did I learn that you have to use anchoredPosition.