# GetProgram()

Method in [YarnProject](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.unity/yarn.unity.yarnproject)

{% hint style="warning" %}
This method is obsolete and may be removed from a future version of Yarn Spinner.
{% endhint %}

## Summary

Gets the Yarn Program stored in this project.

```csharp
public Program GetProgram()
```
