# hitTestObject in Class?

**URL:** <https://forum.kirupa.com/t/hittestobject-in-class/324703>\
**Category:** flash\
**Created:** [September 4, 2011, 10:45am UTC](https://forum.kirupa.com/t/hittestobject-in-class/324703 "2011-09-04T10:45:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheAwesomeDude](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@TheAwesomeDude](https://forum.kirupa.com/u/TheAwesomeDude)\
**Post date:** [September 4, 2011, 10:45am UTC](https://forum.kirupa.com/t/hittestobject-in-class/324703/1 "2011-09-04T10:45:58Z")

</div>

EDIT:

Hi! I dont think that will work. I need to have it as individual blocks.  
I did a quick demo file to show what I need. You will se in the file that the map is randomized and I need it to be like that to! 🙂

READ THIS:  
I want the green cube to fall down (gravity) and than “land” on the gray cubes. This is a small demo, of my full version flash file, so i need it to be blocks. You maybe can help me?

[http://www.speedyshare.com/files/30175809/Demo.rar](http://www.speedyshare.com/files/30175809/Demo.rar)
