If you want to simply constrain the scale, use:
clamp(LayoutScale, minLayoutScale, maxLayoutScale)
Where:
- minLayoutScale – variable for the minimum scale (e.g., 0.5)
- maxLayoutScale – variable for the maximum scale (e.g., 2.0)
(P.S. If you are using the "LayoutScale" method, be sure to verify that your UI layers have Scale Rate = 0)