---
title: spatialEventTrigger
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insettaskattributeintent/spatialeventtrigger
---

# spatialEventTrigger

The location-based trigger to apply to the task.

## Declaration

```swift
@NSCopying var spatialEventTrigger: INSpatialEventTrigger? { get }
```

## Discussion

Discussion If no trigger information is available in this property, do not attempt to change the spatial trigger of the task.

## See Also

### Getting the Triggers

- [temporalEventTrigger](intents/insettaskattributeintent/temporaleventtrigger.md)
