# Arkanoid game Help!

**URL:** <https://forum.kirupa.com/t/arkanoid-game-help/204669>\
**Category:** Uncategorized\
**Created:** [October 22, 2006, 8:40am UTC](https://forum.kirupa.com/t/arkanoid-game-help/204669 "2006-10-22T08:40:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vashthestampede](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@vashthestampede](https://forum.kirupa.com/u/vashthestampede)\
**Post date:** [October 22, 2006, 8:40am UTC](https://forum.kirupa.com/t/arkanoid-game-help/204669/1 "2006-10-22T08:40:44Z")

</div>

Im makin an arkanoid game for a school assignment, and run into a problem. The actionscript for the ball which ive written below seems to be wrong, but i dont know wat.  
Instead of the ball bouncing off the paddle, the ball kinda rolls off to the side of it after making contact. Please HELP!!

onClipEvent (load) { movespeed = 10; }  
onClipEvent (enterFrame)  
{  
\_x += movespeed;  
\_y += movespeed;  
{if (\_parent.paddle.hitTest (this))  
{  
\_x += movespeed;  
\_y += -movespeed;  
}  
}  
}
