# How do I stop a ship from moving in space?

**URL:** <https://forums.unrealengine.com/t/how-do-i-stop-a-ship-from-moving-in-space/1895669>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [June 8, 2024, 10:13pm UTC](https://forums.unrealengine.com/t/how-do-i-stop-a-ship-from-moving-in-space/1895669 "2024-06-08T22:13:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mordreon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mordreon](https://forums.unrealengine.com/u/Mordreon)\
**Post date:** [June 8, 2024, 10:13pm UTC](https://forums.unrealengine.com/t/how-do-i-stop-a-ship-from-moving-in-space/1895669/1 "2024-06-08T22:13:40Z")

</div>

I have a spaceship that is not being affected by gravity and after thrust is input, it continues in X direction like a real spaceship would. I want to implement a button where it tells the ship to basically halt motion without using a timeline.

This is basically how forward/reverse thrust is set

 ![Screenshot (15)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/b/dbb712987609eb3df19a959858d3729b867a2766.png)

This can stop the ship, but it’s instant and I’m trying to avoid doing this as a timeline event.

 ![Screenshot (14)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/2/4/d2437a8abcc88dfe04933da915c30590af846f33.png)

I tried [this](https://forums.unrealengine.com/t/smoothly-slow-down-velocity/678480), but it didn’t work/I didn’t have the right event trigger(?) How do I get my ship to stop smoothly?
