# HitTest between movie clips

**URL:** <https://forum.kirupa.com/t/hittest-between-movie-clips/212376>\
**Category:** programming\
**Created:** [January 10, 2007, 5:14pm UTC](https://forum.kirupa.com/t/hittest-between-movie-clips/212376 "2007-01-10T17:14:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefanmhodgson](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@stefanmhodgson](https://forum.kirupa.com/u/stefanmhodgson)\
**Post date:** [January 10, 2007, 5:14pm UTC](https://forum.kirupa.com/t/hittest-between-movie-clips/212376/1 "2007-01-10T17:14:42Z")

</div>

Hello there, I am creating a basic platform game in flash. I have used Nathans example and modified it. I am quite pleased with it. I am having trouble with a few things. I have a MC at the end of the level of a flag. This signifies the end of the game. I would like the character to get to the flag and it to be the end of the game. I am guessing that this will involve a HitTest between the character MC and the flag MC. However I don’t know the actionscript for this. When the HitTest occurs, I would like the player to see a screen with a simple message.

Please could you help me on this.

Thanks very much

Stefan
