convertPercentToPosition
API -
return function()
local app = getApp();
local position = app.convertPercentToPosition(0.5, 0.5);
--position.x will be 0 because the center.x of the screen is 0.
log(position.x .. ', ' .. position.y);
end
Last updated