# currentSpringForce

> The force the spring applied along the slide axis during the last simulation step, usually in newtons. A positive value pushes body B towards a greater translation and a negative value towards a smaller one. This is zero when the spring is disabled. Unlike the current constraint force, it excludes the force from the translation limits and the motor.

## Definition

* **Type:** Property
* **Namespace:** [Unity.U2D.Physics](/engine/6000.7/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public float currentSpringForce { get; }
```

### Remarks

See [PhysicsSliderJoint.enableSpring](/engine/6000.7/script-reference/unity/u2d/physics/physicssliderjoint/enablespring.md) and [PhysicsSliderJoint.springTargetTranslation](/engine/6000.7/script-reference/unity/u2d/physics/physicssliderjoint/springtargettranslation.md).
