# I need help with boundary/wall coding

**URL:** https://forum.kirupa.com/t/i-need-help-with-boundary-wall-coding/112471
**Category:** Uncategorized
**Created:** [June 8, 2004, 1:57am UTC](https://forum.kirupa.com/t/i-need-help-with-boundary-wall-coding/112471 "2004-06-08T01:57:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PlatinumSnipe](https://avatars.discourse-cdn.com/v4/letter/p/49beb7/32.png) [@PlatinumSnipe](https://forum.kirupa.com/u/PlatinumSnipe)
#### Post date: [June 8, 2004, 1:57am UTC](https://forum.kirupa.com/t/i-need-help-with-boundary-wall-coding/112471/1 "2004-06-08T01:57:41Z")

</div>

Yo, I’m making a Flash RPG game on a very low ActionScript experience.  
I don’t know what to do about my character going through walls or boundaries  
that he’s not suppose to go to, such as the ocean.

I have made the ocean on a different layer. Is there anyway I could block the character from going on a certain layer? Or do yall have any other ideas?
