# Platform/Bouncing/HitTest - Slight problem

**URL:** <https://forum.kirupa.com/t/platform-bouncing-hittest-slight-problem/153641>\
**Category:** programming\
**Created:** [July 3, 2005, 9:27am UTC](https://forum.kirupa.com/t/platform-bouncing-hittest-slight-problem/153641 "2005-07-03T09:27:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imz](https://avatars.discourse-cdn.com/v4/letter/i/eb9ed0/32.png) [@imz](https://forum.kirupa.com/u/imz)\
**Post date:** [July 3, 2005, 9:27am UTC](https://forum.kirupa.com/t/platform-bouncing-hittest-slight-problem/153641/1 "2005-07-03T09:27:55Z")

</div>

Basically, what I have set up is a bouncing ball. The speed of the bounce decreases until it is a minus number, at which point it goes down. Now, when the ball, or rather a movie clip at the bottom of the ball hits a movie clip at the top of a platform, the speed variable is reset and thus it bounces again. All that works fine.

The problem is, when the user bounces onto a high platform and then back down, the speed is so high that the ball movie clip simply doesn’t touch the platform movie clip and keeps falling, get me?

I can’t increase the size of the platform movie clip past 5px without the gameplay being ruined, nor can I limit the downward speed.

Any ideas?
