# hasWindowSize

> Determines if the search view was opened with a predefined size. If false, then it means the search view was opened the previous window size it was last closed with.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Search](/engine/6000.6/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
public bool hasWindowSize { get; }
```
