---
title: "stop(blendOutDuration:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/animationplaybackcontroller/stop(blendoutduration:)"
---

# stop(blendOutDuration:)

Stops an animation with a fade-out time.

## Declaration

```swift
@MainActor @preconcurrency func stop(blendOutDuration: TimeInterval)
```

## Parameters

- `blendOutDuration`: Time (in seconds) to fade out the animation before it stops.

## Discussion

Discussion This method has no effect if the animation is complete. After you stop the animation, the playback controller becomes invalid. Create a new one with the same resource to play the animation again.
