Skip to content

Order of GetWorldCorners in Unity

GetWorldCorners returns the positions of the corners of a RectTransform in world space. It drives me nuts that I can’t just get the order of the corners in the Get World Corners array by searching for it in Google. To fix this, I checked it out myself. Next time you need to know which is which from the Get World Corners array, you’ll find it here.

Order of GetWorld Corners:

0 – Bottom Left

1 – Top Left

2 – Top Right

3 – Bottom Right

I hope this helps someone else out. If nothing else, I’m sure it’ll help me later.

Published inDevelopment Tips

4 Comments

  1. Thank you, it helped me. 🙂

  2. Gonzalo Piffaretti Gonzalo Piffaretti

    thanks!!! can’t believe this is not in the docs…

  3. Jeremy Jeremy

    Yes thank you!

  4. John Krajewski John Krajewski

    You da man! Thanks for this

Leave a Reply

Your email address will not be published. Required fields are marked *