> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.yarnactionattribute.md).

# YarnActionAttribute

Attribute in [Yarn.Unity](/api/csharp/yarn.unity.md)

Inherits from `System.Attribute`

## Summary

```csharp
public abstract class YarnActionAttribute : Attribute
```

## Properties

| Name                                                                                                 | Description                                                |
| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------- |
| [Name](/api/csharp/yarn.unity/yarn.unity.yarnactionattribute/yarn.unity.yarnactionattribute.name.md) | The name of the command or function, as it exists in Yarn. |
