# 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:** [Unity.U2D.Physics](/engine/7000.0/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

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