---
title: "animate(alongsideChanges:completion:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitextcursordroppositionanimator/animate(alongsidechanges:completion:)"
---

# animate(alongsideChanges:completion:)

Optionally, provide an animation block or completion block to run alongside cursor appearance or position update animations.

## Declaration

```swift
func animate(alongsideChanges animation: (() -> Void)?, completion: (() -> Void)? = nil)
```

```swift
func animate(alongsideChanges animation: (() -> Void)?) async
```
