# Sandbox.SpringJoint

Try to keep an object a set distance away from another object. Like a spring connecting two objects.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Joint](/api/Sandbox.Joint)
- Modifiers: sealed

## Constructors

- [`SpringJoint`](/api/Sandbox.SpringJoint/.ctor)

## Properties

- [`Damping`](/api/Sandbox.SpringJoint/Damping): The damping ratio of the spring, usually between 0 and 1
- [`ForceMode`](/api/Sandbox.SpringJoint/ForceMode): Determines which way the spring applies force. Pull = only when stretched, Push = only when compressed, Both = acts in both directions.
- [`Frequency`](/api/Sandbox.SpringJoint/Frequency): The stiffness of the spring
- [`MaxLength`](/api/Sandbox.SpringJoint/MaxLength): Maximum length it should be allowed to go
- [`MinLength`](/api/Sandbox.SpringJoint/MinLength): Minimum length it should be allowed to go
- [`RestLength`](/api/Sandbox.SpringJoint/RestLength): Length of the spring at rest.
