# Command

Struct in [Yarn]()

Inherits from `System.ValueType`

## Summary

A command, sent from the [Dialogue](yarn.dialogue) to the game.

```csharp
public struct Command
```

## Remarks

You do not create instances of this struct yourself. They are\
created by the [Dialogue](yarn.dialogue) during program execution.

## Properties

| Name                                   | Description                   |
| -------------------------------------- | ----------------------------- |
| [Text](yarn.command/yarn.command.text) | Gets the text of the command. |

## See Also

* [Dialogue.CommandHandler](yarn.dialogue/yarn.dialogue.commandhandler): Gets or sets the [CommandHandler](yarn.commandhandler) that is called when a command is to be delivered to the game.
