# Complicated maze actionscript question

**URL:** https://forum.kirupa.com/t/complicated-maze-actionscript-question/106174
**Category:** Uncategorized
**Created:** [April 2, 2004, 11:18pm UTC](https://forum.kirupa.com/t/complicated-maze-actionscript-question/106174 "2004-04-02T23:18:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mustardj](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mustardj](https://forum.kirupa.com/u/mustardj)
#### Post date: [April 2, 2004, 11:18pm UTC](https://forum.kirupa.com/t/complicated-maze-actionscript-question/106174/1 "2004-04-02T23:18:44Z")

</div>

Hi all.  
I’m trying to make a maze that’s not made of square blocks, as you can see in the picture.

![](http://members.optushome.com.au/utaya/brainnew.gif)

The little guy in the left-hand side moves when the user presses an arrow button, but when he can’t walk through the lines (walls)  
I’m guessing that I can’t use the usual “hitTest” command, so is there any way i can achieve this without finding every point where the lines cross and do a specific hitTest (hitTest (x,y,true) )?  
I’d be really really grateful if you could help me with this.  
Thanks very much.
