# sleepingAllowed

> The sleeping ability of the body. If false, the body will never sleep and will be woken up. See PhysicsBody.awake.

## Definition

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

```csharp
public bool sleepingAllowed { get; set; }
```
