1 2 3 4 5 6 7 8 9
local Utils = {} function Utils.percentCoordinates(x, y) x = (x/100)*Screen.width y = (y/100)*Screen.height return x, y end return Utils