For the complete documentation index, see llms.txt. This page is also available as Markdown.

convertPositionToPercent

API -

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

Last updated