# CancelAnimation

[**@qbead/bloch-sphere**](https://qbead.gitbook.io/bloch-sphere/index)

***

[@qbead/bloch-sphere](https://qbead.gitbook.io/bloch-sphere/index) / CancelAnimation

## Type Alias: ~~CancelAnimation()~~

> **CancelAnimation** = () => `void`

Defined in: [src/animation.ts:6](https://github.com/qbead/bloch-sphere/blob/41247d60e67bd802cc21854379a06362e5d0957c/src/animation.ts#L6)

### Returns

`void`

### Deprecated

Use CancellablePromise instead
