> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/scene-fusion/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/scene-fusion/api-reference/ks.scenefusion.client.unity.editor/ks.scenefusion.client.unity.editor.sfui/ks.scenefusion.client.unity.editor.sfui.delegates/ks.scenefusion.client.unity.editor.sfui.delegates.allowleavesession.md).

# Delegate sfUI.Delegates.AllowLeaveSession

Namespace: [KS.SceneFusion.Client.Unity.Editor](/scene-fusion/api-reference/ks.scenefusion.client.unity.editor.md)\
Assembly: KSUnity-Source.dll

Delegate to check if the user agree to leave the session.

```csharp
public delegate bool sfUI.Delegates.AllowLeaveSession()
```

#### Returns

bool
