---
title: automatic
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/windowinteractionbehavior/automatic
---

# automatic

The automatic behavior. The associated window behavior will be enabled or disabled depending on the configuration of the enclosing Scene.

## Declaration

```swift
static let automatic: WindowInteractionBehavior
```
