> For the complete documentation index, see [llms.txt](https://unity.zoeimmersive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://unity.zoeimmersive.com/adding-interactivity/api-custom-scripts/create-your-own-action.md).

# Create your own Action

We explain here the basics of implementing a new Zoe ACTION with your own code:

Find the script **TemplateAction** in your Project window (under **Scripts > Interactions > Actions**) duplicate it and rename the duplicated file with your action name \[YourActionName]. Once this is done, open the file for editing.

Rename the class name from:&#x20;

```
public class TemplateAction : S_AbstractAction
```

to

```
public class [YourActionName] : S_AbstractAction
```

{% hint style="info" %}
**IMPORTANT: the name you gave to the file and the name of the class need to be the same.**
{% endhint %}

You can then code what you want to happen when the action triggers inside the ***ActionLogic*** function where the comment says *‘Implement your action logic here’.*

You can then use your custom ACTION inside any *Interaction* through the ***Add Component*** menu.
