> 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/2.4/api/csharp/yarn.unity/yarn.unity.yarnactionattribute.md).

# YarnActionAttribute

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

Inherits from `System.Attribute`

## Summary

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

## Properties

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