# Click movement help

**URL:** <https://forum.kirupa.com/t/click-movement-help/211687>\
**Category:** Uncategorized\
**Created:** [January 4, 2007, 6:54am UTC](https://forum.kirupa.com/t/click-movement-help/211687 "2007-01-04T06:54:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jose3760](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jose3760/32/2887_2.png) [@jose3760](https://forum.kirupa.com/u/jose3760)\
**Post date:** [January 4, 2007, 6:54am UTC](https://forum.kirupa.com/t/click-movement-help/211687/1 "2007-01-04T06:54:16Z")

</div>

im making a game, kind of like habbo hotel :P, where you click on a squae to move. i have the basic game set up, but there are just a few problems that i need sorted out.  
the attatchment is below

what i need fixed is that when the guy moves, he moves up ^ and down v and left \< and right \> but i need him to stay inside the squares.

alsooo, how can i make it so instead of having my guy go to where everm i click , he goes to the middle of the square i clicked.
