---
title: animationTimingFunction
framework: scenekit
role: symbol
role_heading: Type Property
path: scenekit/scntransaction/animationtimingfunction
---

# animationTimingFunction

Returns the timing function that SceneKit uses for all animations within this transaction group.

## Declaration

```swift
@NSCopying class var animationTimingFunction: CAMediaTimingFunction? { get set }
```

## Return Value

Return Value The media timing function for the transaction’s animations.

## Discussion

Discussion Media timing functions, also known as animation curves, define the relationship between the elapsed time of an animation and its effect on a property. For example, the easeInEaseOut function creates an effect that begins slowly, speeds up, and then finishes slowly.

## See Also

### Overriding Animation Duration and Timing

- [animationDuration](scenekit/scntransaction/animationduration.md)
