> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/rigidbody2d/sleep-2d.md).

# Sleep 2D

Node description and basic instructions

Make the rigidbody "sleep".

{% hint style="warning" %}
*Sleeping* is an optimisation that is used to temporarily remove an object from physics simulation when it is at rest. This function makes the rigidbody sleep - it is sometimes desirable to enable this manually rather than allowing automatic sleeping with the *sleepMode* property.
{% endhint %}

**To create it**, right-click on free space in AI Tree inspector and select <mark style="color:purple;">Create Node/Tasks/Rigidbody2D/Sleep 2D.</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FvYDfpHEQE0WeKB5gTJlL%2F7.png?alt=media&amp;token=2eef8d16-c9d0-41a2-93de-e657b9457795" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                            |
| ----------------- | -------------------------------------- |
| Node Name         | Name of node                           |
| Ignore Abort Self | Whether node ignores abort self or not |
| Target            | Target to which you want to apply      |
