# Game

**URL:** <https://forum.kirupa.com/t/game/96648>\
**Category:** Uncategorized\
**Created:** [December 11, 2003, 10:04pm UTC](https://forum.kirupa.com/t/game/96648 "2003-12-11T22:04:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlyBoy6](https://avatars.discourse-cdn.com/v4/letter/f/65b543/32.png) [@FlyBoy6](https://forum.kirupa.com/u/FlyBoy6)\
**Post date:** [December 11, 2003, 10:04pm UTC](https://forum.kirupa.com/t/game/96648/1 "2003-12-11T22:04:15Z")

</div>

waht is the code for makeing a boundry for a movieclip not to go past it i think it is hittest or something for a not flat boundry but im not shere what to make the boundry or where to put it like do i make the boundry a MC:?)  
For Flash5

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 11, 2003, 10:14pm UTC](https://forum.kirupa.com/t/game/96648/2 "2003-12-11T22:14:34Z")

</div>

Not sure if this works for flash 5…

And I’m not quite sure I understood what you really said…

But… You have to have a point and a movieclip to do this…

if(\_root.monkey.hitTest(\_root.point.\_x, \_root.point.\_y, TRUE))

_yawwwn_… Should be allright.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 12, 2003, 3:45pm UTC](https://forum.kirupa.com/t/game/96648/3 "2003-12-12T15:45:57Z")

</div>

hmm ill keep messin around with it

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [December 13, 2003, 1:18am UTC](https://forum.kirupa.com/t/game/96648/4 "2003-12-13T01:18:56Z")

</div>

you could also do inside the movie clip you want to hit test…

if(this, hitTest(\_root.targetMC, true))  
{  
blah;  
}
