# Add Force 2D

Apply a force to the rigidbody.

The force is specified as two separate components in the X and Y directions (there is no Z direction in 2D physics). The object will be accelerated by the force according to the law *force = mass x acceleration* - the larger the mass, the greater the force required to accelerate to a given speed.

{% hint style="info" %}
If you don’t specify a ForceMode2D the default will be used. The default in this case is ForceMode2D Force which adds force over time, using mass.
{% endhint %}

**To create it**, right-click on free space in AI Tree inspector and select <mark style="color:purple;">Create Node/Tasks/Rigidbody2D/Add Force 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%2FlkddEDSbdXwxZDFng1ab%2F1.png?alt=media&#x26;token=494cb07b-b8ed-466e-b430-d1f9f12c18f9" 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 force is added                |
| Force             | Force vector in world coordinates             |
| Mode              | Method used to apply the force to its targets |
