# How do you make the velocity of a sprite not cancel another one out?

**URL:** <https://forum.makecode.com/t/how-do-you-make-the-velocity-of-a-sprite-not-cancel-another-one-out/40697>\
**Category:** Help\
**Tags:** game, make, demo, art, platformer\
**Created:** [November 29, 2025, 4:34am UTC](https://forum.makecode.com/t/how-do-you-make-the-velocity-of-a-sprite-not-cancel-another-one-out/40697 "2025-11-29T04:34:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Spike](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/spike/32/33316_2.png) [@Spike](https://forum.makecode.com/u/Spike)\
**Post date:** [November 29, 2025, 4:34am UTC](https://forum.makecode.com/t/how-do-you-make-the-velocity-of-a-sprite-not-cancel-another-one-out/40697/1 "2025-11-29T04:34:32Z")

</div>

How do you make a sprite move but not cancel another movement out?  
For example, if used a ‘move (mySprite) with buttons’ block and I added ‘set (mySprite) velocity’ block right after it. Then when I move with the D-PAD it cancels the velocity block. Is there a way to get past this?

Here is my project if you want to help.

> **[help if you want](https://arcade.makecode.com/75216-79825-45196-55491)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

(its this one btw)

 ![IMG_0242](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/1/d1c03135565bb9a8d4ba41dcc94bc60ea4ee9c48.jpeg)

---

<div class="post-metadata">

**Author:** ![Iro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/iro/32/34749_2.png) [@Iro](https://forum.makecode.com/u/Iro)\
**Post date:** [November 29, 2025, 9:36pm UTC](https://forum.makecode.com/t/how-do-you-make-the-velocity-of-a-sprite-not-cancel-another-one-out/40697/2 "2025-11-29T21:36:16Z")

</div>

You should be able to use Change (mySprite) instead of set. that should work.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [November 29, 2025, 9:36pm UTC](https://forum.makecode.com/t/how-do-you-make-the-velocity-of-a-sprite-not-cancel-another-one-out/40697/3 "2025-11-29T21:36:26Z")

</div>

You’ll have to code your own movement system, because the Move Sprite block directly sets velocity. Shouldn’t be too hard with a On Game Update loop and those \< button is pressed\> blocks from the controller section.
