# Click then Walk

**URL:** <https://forum.kirupa.com/t/click-then-walk/270203>\
**Category:** flash\
**Created:** [September 6, 2008, 2:22pm UTC](https://forum.kirupa.com/t/click-then-walk/270203 "2008-09-06T14:22:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![humbuged](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@humbuged](https://forum.kirupa.com/u/humbuged)\
**Post date:** [September 6, 2008, 2:22pm UTC](https://forum.kirupa.com/t/click-then-walk/270203/1 "2008-09-06T14:22:37Z")

</div>

Hello 🙂

I’m trying to test myself to make a point & click kind of game. My first try, I managed to make the click thing but i have no idea how to make the walking part XD So it looks like click & appear right now 🙂

The black box is supposed to be unwalkable but I don’t know how to do that yet 😛

[http://www.swfupload.com/view/112571.htm](http://www.swfupload.com/view/112571.htm)

So far, these are the only codes I used, thanks to Flash’s Help tab.

```auto

var mouseListener:Object = new Object();
mouseListener.onMouseDown = function() {
	guy._x = _xmouse;
	guy._y = _ymouse;
};
Mouse.addListener(mouseListener);

```

Can anyone help? 🙂 I’ve attached my .fla file too XD
