---
title: foreground
framework: appintents
role: symbol
role_heading: Type Property
path: appintents/intentmodes/current/foreground
---

# foreground

A value that indicates the app intent is running in the foreground.

## Declaration

```swift
static var foreground: IntentModes.Current { get }
```
