# frequency

> The frequency at which the spring oscillates around the distance between the objects.

## Definition

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

```csharp
public float frequency { get; set; }
```

### Remarks

The spring will oscillate with a certain frequency as it attempts to bring the two anchor points of the objects together.  A [\_dampingRatio](/engine/6000.7/script-reference/unityengine/fixedjoint2d/dampingratio.md)' can be set to cause this oscillation to die down over time.

Additional Resources: [\_dampingRatio](/engine/6000.7/script-reference/unityengine/fixedjoint2d/dampingratio.md)
