drop in any iio file
iio.start(App_Name,'canvas');
app.add([app.center.x,app.height/3], '"click the square" red font Arial 40 center'); function bounce(o){ o.vel.x*=-1 } var square = app.add([app.center.x,app.height/3*2], '100 red vel 5 add o 80 #00baff',{ bounds:{ right:[app.width,bounce], left:[0,bounce] } }); square.click=function(){ alert('selected') }