# Having a bad day \>\<

**URL:** <https://forum.kirupa.com/t/having-a-bad-day/221170>\
**Category:** flash\
**Created:** [April 2, 2007, 4:32am UTC](https://forum.kirupa.com/t/having-a-bad-day/221170 "2007-04-02T04:32:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superiority](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@superiority](https://forum.kirupa.com/u/superiority)\
**Post date:** [April 2, 2007, 4:32am UTC](https://forum.kirupa.com/t/having-a-bad-day/221170/1 "2007-04-02T04:32:48Z")

</div>

I can’t seem to get a simple hitTest working. I think I should get more sleep or something, but here’s my problem. I have this code pasted on the frame:

```auto

this.map_mc.to_hrp.hitTest(char_mc){
touching=true;
_global.target="hrp"
}

```

map\_mc is the map and to\_hrp is a portal embedded in the map. It’s a syntax error and yer… help?

I did try using the inbuilt help but nothing mentions anything about using something in something, and I’m sure you can do it because I’ve done it before … Anyways, help?
