---
title: intent
framework: intents
role: symbol
role_heading: Instance Property
path: intents/inshortcut-swift.enum/intent
---

# intent

The intent that performs the action when invoking the shortcut.

## Declaration

```swift
var intent: INIntent? { get }
```

## Discussion

Discussion This property is nil when you create the shortcut with an NSUserActivity object.
