# Moving and hit-tests

**URL:** https://forum.kirupa.com/t/moving-and-hit-tests/141399
**Category:** Uncategorized
**Created:** [March 19, 2005, 7:11pm UTC](https://forum.kirupa.com/t/moving-and-hit-tests/141399 "2005-03-19T19:11:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![picky](https://avatars.discourse-cdn.com/v4/letter/p/9fc29f/32.png) [@picky](https://forum.kirupa.com/u/picky)
#### Post date: [March 19, 2005, 7:11pm UTC](https://forum.kirupa.com/t/moving-and-hit-tests/141399/1 "2005-03-19T19:11:12Z")

</div>

Yo,  
I need a good way to make a movie clip move in directions when you press the arrow keys and a way to make him not run into walls (the walls will be another movie clip). Need some code and an exlplanation of it.
