image {get}

API -

return function()
    local app = getApp();
    local myObject = app.createGameObject();
    applyImage(myObject, 'imageName');
    
    myObject.image.flipX();
    wait(1);
    myObject.image.flipX();
    
end

Last updated