convertPositionToPercent

API -

return function()
    local app = getApp();
    local percent = app.convertPositionToPercent(120, 300);
    log(percent.x .. ', ' .. percent.y);
end

Last updated