Apply the "ui" scaler to the provided value. The exact formula is: value * (screenHeight / 720) * math.min((screenWidth / screenHeight) / (1920 / 1080), 1) This is the most common scaler in UI elements.
Apply the "ui" scaler to the provided value. The exact formula is: value * (screenHeight / 720) * math.min((screenWidth / screenHeight) / (1920 / 1080), 1) This is the most common scaler in UI elements.
1 number value
the value to scale.
1 number
the scaled value.