> 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/3.1/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.canvasgroup.md).

# canvasGroup

Field in [LinePresenter](/3.1/api/csharp/yarn.unity/yarn.unity.linepresenter.md)

## Summary

The canvas group that contains the UI elements used by this Line View.

```csharp
public CanvasGroup? canvasGroup;
```

## Remarks

If [useFadeEffect](/3.1/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.usefadeeffect.md) is true, then the alpha value of this `UnityEngine.CanvasGroup` will be animated during line presentation and dismissal.

## See Also

* [LinePresenter.useFadeEffect](/3.1/api/csharp/yarn.unity/yarn.unity.linepresenter/yarn.unity.linepresenter.usefadeeffect.md): Controls whether the line view should fade in when lines appear, and fade out when lines disappear.
