> For the complete documentation index, see [llms.txt](https://zypec.gitbook.io/particles/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zypec.gitbook.io/particles/effects/creating-effect.md).

# Creating Effect

This page was last updated for version v1.2.0

## [Caching](/particles/effects/creating-effect/caching.md)

## [Variables](/particles/effects/creating-effect/variables.md)

## [Tick Handlers](/particles/effects/creating-effect/tick-handlers.md)

## [Script Types](/particles/effects/creating-effect/script-types.md)

## Example

{% tabs %}
{% tab title="effects.yml" %}

```yml
effects:
  rainbow-circle:
    display-name: "%rainbow-circle%"
    color-animation: "rainbow"
    permission: "%rainbow-effects%"
    interval: 1
    on-tick:
      elytra:
        event: ELYTRA
        scripts:
          - circle [effect=minecraft:dust,tick-data=true,amount=10,origin=head*-1.25,color={name=rainbow;speed=0.75}]
      moving:
        event: MOVING
        scripts:
          - circle [effect=minecraft:dust,tick-data=true,particles=8,radius=0.25,amount=10,pos={y=-0.5},origin=head*-1.25,color={name=rainbow;speed=0.075}]
```

{% endtab %}
{% endtabs %}
