# SetViewType(PlayModeViewTypes)

> Changes the type of the selected PlayModeView window.

## Definition

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

```csharp
public static void SetViewType(PlayModeWindow.PlayModeViewTypes type)
```

### Parameters

**** (\[PlayModeViewTypes]\(/engine/6000.0/script-reference/unityeditor/playmodewindow/playmodeviewtypes)): The new PlayModeView type.
