---
title: "attributes(forDynamicParameter:)"
framework: corehaptics
role: symbol
role_heading: Instance Method
path: "corehaptics/chhapticdevicecapability/attributes(fordynamicparameter:)"
---

# attributes(forDynamicParameter:)

Requests the haptic device’s attributes for a dynamic parameter.

## Declaration

```swift
func attributes(forDynamicParameter inParameter: CHHapticDynamicParameter.ID) throws -> any CHHapticParameterAttributes
```

## Parameters

- `inParameter`: The dynamic parameter ID whose attributes you seek.

## Return Value

Return Value The haptic device’s attributes for the given dynamic parameter ID.

## See Also

### Querying System Capabilities

- [capabilitiesForHardware()](corehaptics/chhapticengine/capabilitiesforhardware().md)
- [CHHapticDeviceCapability](corehaptics/chhapticdevicecapability.md)
- [CHHapticParameterAttributes](corehaptics/chhapticparameterattributes.md)
