I am working on a game, that involves a snake moving across the screen. The Following script works but i found it online, so am unsure of what exactly it does
var btn = new createjs.MovieClip(null, null, false, {
up:0,over:10,down:60, out:0
}).set({
x:250, y:570
});
createjs.Tween
.get(o)
.to({_off:true})
.wait(10)
.to({_off:false})
.wait(10)
.to({_off:true}),