---
title: reactionEffectsInProgress
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturedevice/reactioneffectsinprogress
---

# reactionEffectsInProgress

An array of reaction effects that the device is currently performing, sorted by timestamp.

## Declaration

```swift
var reactionEffectsInProgress: [AVCaptureReactionEffectState] { get }
```

## Discussion

Discussion Key-value observe this property to determine when reaction effects begin and end. If your key-value observing callback provides old and new values, any in-progress reaction effects in the new array have a value of invalid for their endTime property value. Completed reaction effects are only in the old array, and have their endTime property value set to the presentation time of the first frame where the reaction effect was no longer present.

## See Also

### Performing reaction effects

- [reactionEffectsEnabled](avfoundation/avcapturedevice/reactioneffectsenabled.md)
- [canPerformReactionEffects](avfoundation/avcapturedevice/canperformreactioneffects.md)
- [availableReactionTypes](avfoundation/avcapturedevice/availablereactiontypes.md)
- [reactionEffectGesturesEnabled](avfoundation/avcapturedevice/reactioneffectgesturesenabled.md)
- [performEffect(for:)](avfoundation/avcapturedevice/performeffect(for:).md)
- [AVCaptureReactionEffectState](avfoundation/avcapturereactioneffectstate.md)
