# Cursor movement

**URL:** https://forum.makecode.com/t/cursor-movement/2181
**Category:** Game Design
**Created:** [May 22, 2020, 12:50am UTC](https://forum.makecode.com/t/cursor-movement/2181 "2020-05-22T00:50:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jacob\_c](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jacob_c/32/1532_2.png) [@jacob\_c](https://forum.makecode.com/u/jacob_c)
#### Post date: [May 22, 2020, 12:50am UTC](https://forum.makecode.com/t/cursor-movement/2181/1 "2020-05-22T00:50:08Z")

</div>

I wanted to make a tile-aligned cursor that didn’t just snap to the coordinates when moving. I vaguely recalled from an advanced livestream that svg paths can be used in sprite animations…

> **[cursor test](https://arcade.makecode.com/70913-69681-66589-22866)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

… and I came up with this. Is this a terrible idea for implementing a cursor that transitions to locations rather than just immediately snapping to them? Are there potentially problems with getting misaligned to the grid that I need to worry about if the timing lines up just ~~right~~ wrong?

Also, thanks to … someone (@jwunderl, probably)… for pointing out the Controller extension that lets you configure button repeat rates. Very handy!

---

<div class="post-metadata">

### Author: ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)
#### Post date: [May 22, 2020, 12:59am UTC](https://forum.makecode.com/t/cursor-movement/2181/2 "2020-05-22T00:59:28Z")

</div>

This is great, lots of time I’ve wanted this (e.g. for tower defense games). The one thing about the svg paths that comes to mind is that they don’t interoperate well with tilemap walls if I remember right, but that’d be a bug we’d probably want to fix if it causes issues!

(Also, yes I did add that block a while ago / mention it in another thread a few days ago hah 😛)
