---
title: INSpatialEventTrigger
framework: intents
role: symbol
role_heading: Class
path: intents/inspatialeventtrigger
---

# INSpatialEventTrigger

A trigger condition based on the user’s arrival or departure from a given location.

## Declaration

```swift
class INSpatialEventTrigger
```

## Overview

Overview When configuring tasks, you can add an INSpatialEventTrigger object to display a reminder when the user approaches or leaves a specific location. Spatial event triggers rely on location services to generate events.

## Topics

### Initializing an Event Trigger

- [init(placemark:event:)](intents/inspatialeventtrigger/init(placemark:event:).md)

### Getting the Trigger Condition

- [placemark](intents/inspatialeventtrigger/placemark.md)
- [event](intents/inspatialeventtrigger/event.md)
- [INSpatialEvent](intents/inspatialevent.md)

### Initializers

- [init(coder:)](intents/inspatialeventtrigger/init(coder:).md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Event Triggers

- [INTemporalEventTrigger](intents/intemporaleventtrigger.md)
- [INTemporalEventTriggerTypeOptionsResolutionResult](intents/intemporaleventtriggertypeoptionsresolutionresult.md)
- [INDayOfWeekOptions](intents/indayofweekoptions.md)
