# Limit Area

**URL:** <https://forum.kirupa.com/t/limit-area/192355>\
**Category:** programming\
**Created:** [June 28, 2006, 1:50am UTC](https://forum.kirupa.com/t/limit-area/192355 "2006-06-28T01:50:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustyeye](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@rustyeye](https://forum.kirupa.com/u/rustyeye)\
**Post date:** [June 28, 2006, 1:50am UTC](https://forum.kirupa.com/t/limit-area/192355/1 "2006-06-28T01:50:55Z")

</div>

I’m new at developing flash games. I have a character that walks towards the point you click on.

How can I make it work so the character only walks on the area he’s supposed to, and not on the walls.

I think I’m suppose to trace a shape but I got no idea what to script.

Could someone please help me out?

Thanks
