> For the complete documentation index, see [llms.txt](https://emafire003.gitbook.io/particleanimationlibwiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emafire003.gitbook.io/particleanimationlibwiki/commands/arc-command.md).

# Arc command

Targeted effect

## Description

This effect spawns an arc between two points. You can configure the height of the arc and its orientation

<figure><img src="https://2434211398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXPzUD27fRUrPYIo2P5v1%2Fuploads%2FIqJBEbtPlw4d6WMYTA03%2FUntitled%20Project.gif?alt=media&amp;token=6c7229ea-26ad-46f4-a98d-1e310e9a63a7" alt=""><figcaption></figcaption></figure>

To use this command you will need to type:

> `/pal arc <paramters...>`

### Demo effect

To display the demo effect use:

> `/pal arc demo <particle> <posX> <posY> <posZ> <duration>`

This will spawn an arc

### Command Structure

The basic command structure for this effect is:

> `/pal arc <particle> <originPos> <targetPos> <count> <height> <duration>`

* `particle` , `originPos`, `targetPos` and `duration`have already been explained in the [General Information page](/particleanimationlibwiki/commands/general-information.md).
* `count` is the total number of particles that will make up the arc. The more, the more defined the arc will be.
* `height` is the height at the middle point of the arc. Aka the top height the arc will reach between the two points.

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Example using count = 5 and perIteration = 100</td><td><code>/pal animatedball minecraft:electric_spark ~ ~ ~ 5 100 1 3</code></td><td><a href="https://2434211398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXPzUD27fRUrPYIo2P5v1%2Fuploads%2Fz2qIoytCOnfHyQlT4T28%2F2025-02-09_12.29.25.png?alt=media&amp;token=3d0b88f5-154e-462a-8c84-fe9deecea785">2025-02-09_12.29.25.png</a></td></tr><tr><td>Example using count = 500 and perIteration = 100</td><td><code>/pal animatedball minecraft:electric_spark ~ ~ ~ 500 100 1 3</code></td><td><a href="https://2434211398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXPzUD27fRUrPYIo2P5v1%2Fuploads%2F6grSoiByvXSpmrd8NkcP%2F2025-02-09_12.33.26.png?alt=media&amp;token=d1b8b21e-257c-4725-a736-6c004aaf4ef8">2025-02-09_12.33.26.png</a></td></tr><tr><td>Example using factors of 1 2 1, creating an oval</td><td><code>/pal animatedball minecraft:electric_spark ~ ~ ~ 500 100 1 1 2 1 0.0 0.0 0.0 3</code></td><td><a href="https://2434211398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXPzUD27fRUrPYIo2P5v1%2Fuploads%2F15X5ylSo1ivjdse6SRcJ%2F2025-02-09_12.32.01_2.png?alt=media&amp;token=3eaa6ba9-6404-4ba8-bffc-51097afe63c4">2025-02-09_12.32.01_2.png</a></td></tr><tr><td>Example using factors of 1 2 1, creating an oval, and rotating it</td><td><code>/pal animatedball minecraft:electric_spark ~ ~ ~ 500 100 1 1 2 1 2.0 0.0 0.0 3</code></td><td><a href="https://2434211398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXPzUD27fRUrPYIo2P5v1%2Fuploads%2FNpLfDhbbg8rjBh1Hq3AE%2F2025-02-09_12.32.49_2.png?alt=media&amp;token=6e40e23e-fb06-4e5e-8faf-c91e059bb652">2025-02-09_12.32.49_2.png</a></td></tr><tr><td></td><td></td><td></td></tr></tbody></table>
