# Following cursor by grid

**URL:** <https://forum.kirupa.com/t/following-cursor-by-grid/33960>\
**Category:** flash\
**Created:** [October 26, 2003, 3:25am UTC](https://forum.kirupa.com/t/following-cursor-by-grid/33960 "2003-10-26T03:25:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tlampo](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@tlampo](https://forum.kirupa.com/u/tlampo)\
**Post date:** [October 26, 2003, 3:25am UTC](https://forum.kirupa.com/t/following-cursor-by-grid/33960/1 "2003-10-26T03:25:18Z")

</div>

Hi, I created an image that follows my cursor, how can I make that image move by the grid and not freely?

Hope you can answer my question, since I’m a little bit in trouble with my users for that…

Thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 26, 2003, 3:33am UTC](https://forum.kirupa.com/t/following-cursor-by-grid/33960/2 "2003-10-26T03:33:10Z")

</div>

what does your current code look like?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 26, 2003, 6:02am UTC](https://forum.kirupa.com/t/following-cursor-by-grid/33960/3 "2003-10-26T06:02:02Z")

</div>

Like this ? [http://www.umbc.edu/interactive/fla/snap.fla](http://www.umbc.edu/interactive/fla/snap.fla) By senocular 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 26, 2003, 1:34pm UTC](https://forum.kirupa.com/t/following-cursor-by-grid/33960/4 "2003-10-26T13:34:45Z")

</div>

it’ more like this [http://powerpokemon.iefactory.com/tipos.php](http://powerpokemon.iefactory.com/tipos.php) (go to the bottom)

I made a grid that is the same size as the squares, and I need to make the vertical and horizontal bar move by the grid, so it doesn’t look as lame as that, if you know what I mean…

Thanks…

PS: I’m not very into flash… How can I take a look at my code? Thanks for helping, guys…

PS2: If you happen to like my website (it’s themed for halloween now, and it’s kind of ugly, but in about two weeks the layout will change back to normal), it will be available in english shortly…
