return function()
    local app = getApp();
    local ob = app.createGameObject(); --create object to attach images to
    applyImage(ob, 'welcomeImage'); --add the image titled 'welcome' to the object
    ob.image.anchor('bottom left', true); 
    --anchors the image to the bottom left of the screen, 
    --true refers to accounting for image dimensions
    --to make sure it reamins completely on the screen


available options are: bottom left, bottom right, top left, top right, center, left, right

Last updated