I’m having an issue where I can no longer use this line:
RectTransform1.position = RectTransform2.position;
When I use that line, the RectTransform does not actually move on the screen. It stays in the same spot.
I tested with setting RectTransform.anchoredPosition, and that does move it, but I’m not sure how to convert RectTransform1.anchoredPosition to be at RectTransform2.position. These RectTransforms will be in two separate Overlay canvases.
(The purpose of this code is to move a selection cursor to specific points in the UI that are currently selected.)