# IsValidTemplateForInstantiation(SceneTemplateAsset)

> An event called before the New Scene dialog is displayed to determine whether this template is available in the dialog.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.SceneTemplate](/engine/6000.5/script-reference/unityeditor/scenetemplate.md)
* **Assembly:** UnityEditor

```csharp
bool IsValidTemplateForInstantiation(SceneTemplateAsset sceneTemplateAsset)
```

### Parameters

**** (\[SceneTemplateAsset]\(/engine/6000.5/script-reference/unityeditor/scenetemplate/scenetemplateasset)): A Scene Template asset that is available in New Scene dialog.

### Returns

| Type                                                          | Description                                                      |
| ------------------------------------------------------------- | ---------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the Scene template can be instantiated. False otherwise. |
