---
title: NSWritingToolsCoordinator.TextAnimation.translate
framework: appkit
role: symbol
role_heading: Case
path: appkit/nswritingtoolscoordinator/textanimation/translate
---

# NSWritingToolsCoordinator.TextAnimation.translate

The animation effect that Writing Tools performs on text situated after the insertion point.

## Declaration

```swift
case translate
```

## Discussion

Discussion When Writing Tools inserts text at a given location, it creates an animation to make room for the new text. When preparing for this animation, hide the text between the insertion point and the end of your text storage. When finishing the animation, show the text again.

## See Also

### Getting the animation types

- [NSWritingToolsCoordinator.TextAnimation.anticipate](appkit/nswritingtoolscoordinator/textanimation/anticipate.md)
- [NSWritingToolsCoordinator.TextAnimation.insert](appkit/nswritingtoolscoordinator/textanimation/insert.md)
- [NSWritingToolsCoordinator.TextAnimation.remove](appkit/nswritingtoolscoordinator/textanimation/remove.md)
- [NSWritingToolsCoordinator.TextAnimation.anticipateInactive](appkit/nswritingtoolscoordinator/textanimation/anticipateinactive.md)
