# Having a moving character stop when he hits objects in an rpg?

**URL:** <https://forum.kirupa.com/t/having-a-moving-character-stop-when-he-hits-objects-in-an-rpg/52017>\
**Category:** programming\
**Created:** [May 19, 2004, 5:04am UTC](https://forum.kirupa.com/t/having-a-moving-character-stop-when-he-hits-objects-in-an-rpg/52017 "2004-05-19T05:04:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haxorleet](https://avatars.discourse-cdn.com/v4/letter/h/8491ac/32.png) [@Haxorleet](https://forum.kirupa.com/u/Haxorleet)\
**Post date:** [May 19, 2004, 5:04am UTC](https://forum.kirupa.com/t/having-a-moving-character-stop-when-he-hits-objects-in-an-rpg/52017/1 "2004-05-19T05:04:18Z")

</div>

[http://www.haxorleet.com/rpg.html](http://www.haxorleet.com/rpg.html)

how can i have my little person stop when he hits an object i place in there?

also, is there a way i can have him interact with that object if i he gets up next to it and presses spacebar?
