# Is there a way to move a sprite without using setVelocity?

**URL:** <https://phaser.discourse.group/t/is-there-a-way-to-move-a-sprite-without-using-setvelocity/11395>\
**Category:** Phaser 3\
**Created:** [March 14, 2022, 1:59am UTC](https://phaser.discourse.group/t/is-there-a-way-to-move-a-sprite-without-using-setvelocity/11395 "2022-03-14T01:59:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saulo-Felipe](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/saulo-felipe/32/6168_2.png) [@Saulo-Felipe](https://phaser.discourse.group/u/Saulo-Felipe)\
**Post date:** [March 14, 2022, 1:59am UTC](https://phaser.discourse.group/t/is-there-a-way-to-move-a-sprite-without-using-setvelocity/11395/1 "2022-03-14T01:59:21Z")

</div>

Hello, in my multiplayer game I need to have more control over the positions and movements of the players. `setVelocity` is a great command, but in my case it causes a lot of problems because the speed is persistent and I need to disable it with `setVelocity(0, 0)`. What would work for me would be `sprite.body.x -= 10` however doing this all collisions are ignored. Any tips on how I can shift a sprite by an amount of pixels keeping the collisions working?
