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