---
title: CHHapticEngine.FinishedAction.stopEngine
framework: corehaptics
role: symbol
role_heading: Case
path: corehaptics/chhapticengine/finishedaction/stopengine
---

# CHHapticEngine.FinishedAction.stopEngine

Stops the engine after it finishes playing all haptic patterns.

## Declaration

```swift
case stopEngine
```

## See Also

### Finished Actions

- [CHHapticEngine.FinishedAction.leaveEngineRunning](corehaptics/chhapticengine/finishedaction/leaveenginerunning.md)
