# How to input sound - while hitTest

**URL:** <https://forum.kirupa.com/t/how-to-input-sound-while-hittest/201035>\
**Category:** Uncategorized\
**Created:** [September 18, 2006, 2:29am UTC](https://forum.kirupa.com/t/how-to-input-sound-while-hittest/201035 "2006-09-18T02:29:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hunson](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@Hunson](https://forum.kirupa.com/u/Hunson)\
**Post date:** [September 18, 2006, 2:29am UTC](https://forum.kirupa.com/t/how-to-input-sound-while-hittest/201035/1 "2006-09-18T02:29:01Z")

</div>

guys, i was wondering if anyone knows how to input sound using script, i want something to make a sound when it hits something else.

erm, specifically:

if (this.hitTest(\_parent.MC)) {  
//make sound script here//  
}

oh yeah, please tell me where should i put this kind of sound, is it on the time line?

thanks
