# Simple hitTest Problem

**URL:** <https://forum.kirupa.com/t/simple-hittest-problem/179776>\
**Category:** Uncategorized\
**Created:** [February 22, 2006, 10:05pm UTC](https://forum.kirupa.com/t/simple-hittest-problem/179776 "2006-02-22T22:05:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bandsaw](https://avatars.discourse-cdn.com/v4/letter/b/54ee81/32.png) [@bandsaw](https://forum.kirupa.com/u/bandsaw)\
**Post date:** [February 22, 2006, 10:05pm UTC](https://forum.kirupa.com/t/simple-hittest-problem/179776/1 "2006-02-22T22:05:13Z")

</div>

Ive never used hitTest before, and ive looked though plenty of tutorials, but everyone i read though are far too advanced for me. All im trying to do is have a ball (ball\_mc) hit an object(wall\_mc) before it hits the floor. I have the gravity and friction working fine. Its just a problem with collision. Can someone help me?

Example of what im looking for:
