Doom
public text v1 · immutableBall.onMouseDown= function() {
if(this.hitTest(_root._xmouse,_root._ymouse,true)){
ball._x = (Math.random()*500)
ball._y = (Math.random()*500)
score = score + 1
}Ball.onMouseDown= function() {
if(this.hitTest(_root._xmouse,_root._ymouse,true)){
ball._x = (Math.random()*500)
ball._y = (Math.random()*500)
score = score + 1
}