# open

> Gets / sets the portal's open state.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/7000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

> **Warning:**
>
> **Deprecated.** Occlusion Portal is deprecated. Use GPU Occlusion Culling instead. #from(6000.7)

```csharp
public bool open { get; set; }
```
