anim({
name:"player1",//obj name
position:{//write down the destination
x:5,y:5
},
time:1000,//automatically set to 1000(ms) if you do not enter time
type:"linear"//automatically set to "linear" if you do not enter time
})
starthammercanvas()
hammercanvas = function(location,time){
console.log(
location,//is the direction in which it drags possible outputs: RIGHT,LEFT,UP,DOWN
time//the time it is held down
)
}