getScale

API -

return function()
    local app = getApp();
    local myObject = app.createObject();
    wait(3);
    
    local scale =  myObject.getScale(); 
    log(scale.x .. ', ' .. scale.y);
    
    
    --as soon as the script ends the object will be destroyed automatically.
    keepAlive();
end

Last updated