---
title: type
framework: corehaptics
role: symbol
role_heading: Instance Property
path: corehaptics/chhapticevent/type
---

# type

The type of the haptic event.

## Declaration

```swift
var type: CHHapticEvent.EventType { get }
```

## Discussion

Discussion An audio event can be one of two types: audioCustom or audioContinuous. Haptic events can be hapticTransient or hapticContinuous:

A transient event lasts a split-second and registers as a tap or impulse, whereas a continuous event feels like an extended buzz of longer duration.

## See Also

### Categorizing Haptic Events

- [CHHapticEvent.EventType](corehaptics/chhapticevent/eventtype.md)
