# GetDescriptionForVariable(string)

Method in [CompilationResult](https://docs.yarnspinner.dev/api/csharp/yarn.compiler/yarn.compiler.compilationresult)

## Summary

Gets the description for a given variable, if it exists.

```csharp
public string? GetDescriptionForVariable(string variableName)
```

## Parameters

| Name                  | Description               |
| --------------------- | ------------------------- |
| `string` variableName | The name of the variable. |

## Returns

The description for the variable, or `null` if none was found.
