---
title: CHHapticDynamicParameter
framework: corehaptics
role: symbol
role_heading: Class
path: corehaptics/chhapticdynamicparameter
---

# CHHapticDynamicParameter

A value that you send to a haptic pattern player to alter a property value during playback.

## Declaration

```swift
class CHHapticDynamicParameter
```

## Overview

Overview Dynamic parameters change their associated event parameters at specific times. When you send a dynamic parameter to a haptic pattern player, the value associated with the parameter changes abruptly at the specified time, across all events in the pattern. To precipitate a gradual change, use a CHHapticParameterCurve object. For haptic intensity and audio volume, the final property value is equal to the original event parameter value multiplied by the dynamic parameter value. For all other parameters, the final property value is equal to the dynamic parameter value added to the original event parameter value. In both cases, the resulting value is limited to the range with minimum and maximum values corresponding to the specified event parameter.

## Topics

### Creating a Dynamic Parameter

- [init(parameterID:value:relativeTime:)](corehaptics/chhapticdynamicparameter/init(parameterid:value:relativetime:).md)
- [CHHapticDynamicParameter.ID](corehaptics/chhapticdynamicparameter/id.md)

### Specifying a Dynamic Parameter’s Value

- [parameterID](corehaptics/chhapticdynamicparameter/parameterid.md)
- [relativeTime](corehaptics/chhapticdynamicparameter/relativetime.md)
- [value](corehaptics/chhapticdynamicparameter/value.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)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Programmatic haptics

- [Delivering Rich App Experiences with Haptics](corehaptics/delivering-rich-app-experiences-with-haptics.md)
- [Playing Collision-Based Haptic Patterns](corehaptics/playing-collision-based-haptic-patterns.md)
- [Updating Continuous and Transient Haptic Parameters in Real Time](corehaptics/updating-continuous-and-transient-haptic-parameters-in-real-time.md)
- [CHHapticEvent](corehaptics/chhapticevent.md)
- [CHHapticEventParameter](corehaptics/chhapticeventparameter.md)
- [CHHapticParameterCurve](corehaptics/chhapticparametercurve.md)
