setPosition

API -

return function()
    local user = getUser('clonzeh');
    if user == nil then
        log('user does not exist!');
        return;
    end
    local app = getApp();
    local p = app.convertPercentToPosition(0.5, 0.5); --center of the screen
    user.setPosition(p.x,p.y);
    
    wait(3);
    
    user.setPosition(0, 800); --center x but really high up on y
end

Last updated