# IsAwake()

> Is the rigidbody "awake"?

## Definition

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

```csharp
public bool IsAwake()
```

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

### Remarks

*Sleeping* is an optimisation that is used to temporarily remove an object from physics simulation when it is at rest. This function tells if the rigidbody is currently awake.

Additional Resources: [Rigidbody2D.Sleep](/engine/6000.3/script-reference/unityengine/rigidbody2d/sleep.md), [Rigidbody2D.WakeUp](/engine/6000.3/script-reference/unityengine/rigidbody2d/wakeup.md), [Rigidbody2D.IsSleeping](/engine/6000.3/script-reference/unityengine/rigidbody2d/issleeping.md).
