# Moving Objects bounce when hitting Edge

**URL:** <https://forum.kirupa.com/t/moving-objects-bounce-when-hitting-edge/177456>\
**Category:** flash\
**Created:** [February 2, 2006, 2:27am UTC](https://forum.kirupa.com/t/moving-objects-bounce-when-hitting-edge/177456 "2006-02-02T02:27:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Almak](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@Almak](https://forum.kirupa.com/u/Almak)\
**Post date:** [February 2, 2006, 2:27am UTC](https://forum.kirupa.com/t/moving-objects-bounce-when-hitting-edge/177456/1 "2006-02-02T02:27:31Z")

</div>

Hello,

**Objective:** Have an object move on the screen and when it hits the edge of the screen (top, side or bottom) have it bounce in another direction and do this continually.

I have Axialis Professional Screensaver software that will allow me to use flash files to make a screensaver. I mean to incorporate the above into the screensaver.

I am new at Flash and have used the posted Random tutorial to make an object move randomly which worked but it just doesn’t do what I need it to. I would be more than willing to send the .fla file to someone to review. Any suggestions or pointing to a tutorial that would assist me in this venture would be greatly appreciated. Thanks in advance.

Almak
