Question on UI Image Aspect Ratios

Hi, could someone give me some guidance on which property/object to use to keep the aspect ratio of my image consistent?

I can make it use RelativeXX or RelativeYY to keep the aspect ratio fixed, but also saw that there is a UIAspectRatioConstraint object I could insert to do something similar.

Which should I use/what are the use cases for each? Pros/Cons?

UIAspectRatioConstraint is your best option. It also has some other properties you can mess with such as AspectType, or Dominant axis. I’ve never used RelativeXX or RelativeYY(mainly because UIAspectRatioConstraint exists) but if I had to guess, using the constraint is probably more customizable.

uiaspectratioconstraint. plugin autoscale to help:[Plugin] AutoScale Lite for GUIs - Scale your UI - #241 by Oficcer_F