I am wondering if there is a feature like this with regular gui or frames not images since if I go on a different device it looks like this for regular frames when I scale it.
You could either use:
A UIAspectRatioConstraint instance at 1:1 (inside the GUI object you want to scale) OR
Change the SizeConstraint property to RelativeXX or RelativeYY and set the size for both axes to be the same.
(This only works if you want your GUI object to be a perfect square.)
use the aspect ratio constraint and set it to something like 1.5 (depending on how long you want the rectangle)
this is very inconsistent; you could also use a UISizeConstraint and set the min and max to your preferred length (in pixels) dont use this, just set the offset to your preferred length (in pixels)