# remainingVelocity

> Returns the remaining velocity that couldn't be used when performing a Rigidbody2D.Slide.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public Vector2 remainingVelocity { readonly get; set; }
```

### Remarks

There are a few reasons why all the specified velocity may not be used:

* An error occured due to an invalid argument provided.
* The [Rigidbody2D.SlideMovement.maxIterations](/engine/6000.3/script-reference/unityengine/rigidbody2d/slidemovement/maxiterations.md) was reached so movement was stopped.

Additional Resources: [Rigidbody2D.Slide](/engine/6000.3/script-reference/unityengine/rigidbody2d/slide.md) and [Rigidbody2D.SlideMovement](/engine/6000.3/script-reference/unityengine/rigidbody2d/slidemovement.md).
