# canvasGroup

Field in [LinePresenter](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.linepresenter)

## Summary

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

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

## Remarks

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

## See Also

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