draw = function(){ //you just need to type in draw = and it will do the function(){put stuff in here} //all stuff in here will be looped every frame }