# Simple HitTest Not Working?

**URL:** <https://forum.kirupa.com/t/simple-hittest-not-working/326837>\
**Category:** flash\
**Created:** [January 15, 2012, 9:59pm UTC](https://forum.kirupa.com/t/simple-hittest-not-working/326837 "2012-01-15T21:59:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisW182](https://avatars.discourse-cdn.com/v4/letter/c/58956e/32.png) [@ChrisW182](https://forum.kirupa.com/u/ChrisW182)\
**Post date:** [January 15, 2012, 9:59pm UTC](https://forum.kirupa.com/t/simple-hittest-not-working/326837/1 "2012-01-15T21:59:48Z")

</div>

Hi guys, i have attached an .fla file to show you what i am trying to achieve, i have a line (acting as a playhead) scrolling accross the screen, i am then wanting it to output to the window when it collides with each of the coloured squares, i have used similar things before but it is not working in this instance, any ideas?

Thanks
