setScale

API -

return function()
    local app = getApp();
    local myObject = app.createObject();
    wait(3);
    
    myObject.setScale(2, 2); 
    
    
    
    --as soon as the script ends the object will be destroyed automatically.
    keepAlive();
end

Last updated