---
title: modifierKeys
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/spatialeventcollection/event/modifierkeys
---

# modifierKeys

The set of active modifier keys at the time of this event.

## Declaration

```swift
var modifierKeys: EventModifiers
```

## See Also

### Identifying the event

- [timestamp](swiftui/spatialeventcollection/event/timestamp.md)
- [id](swiftui/spatialeventcollection/event/id-swift.property.md)
- [SpatialEventCollection.Event.ID](swiftui/spatialeventcollection/event/id-swift.struct.md)
- [kind](swiftui/spatialeventcollection/event/kind-swift.property.md)
- [SpatialEventCollection.Event.Kind](swiftui/spatialeventcollection/event/kind-swift.enum.md)
