# timeToSleep

> The time in seconds that a rigid-body must be still before it will go to sleep.

## Definition

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

```csharp
public static float timeToSleep { get; set; }
```
