---
description: This page was last updated for version v1.2.0
---

# Creating Effect

## [Caching](creating-effect/caching)

## [Variables](creating-effect/variables)

## [Tick Handlers](creating-effect/tick-handlers)

## [Script Types](creating-effect/script-types)

## 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 %}
