<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INSpatialEventTrigger/init(placemark:event:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INSpatialEventTrigger(im)initWithPlacemark:event:"
  },
  "title" : "init(placemark:event:)"
}
-->

# init(placemark:event:)

Initializes the event trigger with the specified location-based information.

```
init(placemark: CLPlacemark, event: INSpatialEvent)
```

## Parameters

`placemark`

The location for which events are triggered.

`event`

A constant indicating whether events are delivered when arriving or leaving the specified location.

## Return Value

An initialized event trigger object or `nil` if the object could not be created.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)