# Bouncing off walls

**URL:** <https://forum.kirupa.com/t/bouncing-off-walls/96829>\
**Category:** Uncategorized\
**Created:** [December 14, 2003, 8:52am UTC](https://forum.kirupa.com/t/bouncing-off-walls/96829 "2003-12-14T08:52:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeka](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@zeka](https://forum.kirupa.com/u/zeka)\
**Post date:** [December 14, 2003, 8:52am UTC](https://forum.kirupa.com/t/bouncing-off-walls/96829/1 "2003-12-14T08:52:05Z")

</div>

If you take a look at this site [Game](http://www.geocities.com/coolazz0/Demo.swf)  
then you will see that when you hit the walls or boundrys you “bounce” off them. I have accomplished stopping movement when hittest occurs but how shall I get the car to “bounce” off the walls. It would be great if you could supply the full code as I am not a great coder.

Cheers 🙂

P.s My cars name is “car” and my boundry name is “boundry” (how original)
