---
title: AnimationState
framework: realitykit
role: symbol
role_heading: Structure
path: realitykit/animationstate
---

# AnimationState

The concretely typed animation state structure.

## Declaration

```swift
struct AnimationState<Value> where Value : AnimatableData
```

## Overview

Overview Access the animation state structure from the event structure returned to  the action’s .updated event handler. Define a valid bind target and matching animation type for the action animation to make the state structure available and non-nil. (See: AnimationStateProtocol)

## Topics

### Instance Properties

- [defaultSource](realitykit/animationstate/defaultsource-3pn6r.md)
- [defaultSource](realitykit/animationstate/defaultsource-5ddek.md)
- [defaultTarget](realitykit/animationstate/defaulttarget-9kxlt.md)
- [defaultTarget](realitykit/animationstate/defaulttarget-gdi6.md)
- [deltaTime](realitykit/animationstate/deltatime.md)
- [evaluationTime](realitykit/animationstate/evaluationtime.md)
- [normalizedTime](realitykit/animationstate/normalizedtime.md)

### Instance Methods

- [defaultSourceJoints(index:count:transforms:)](realitykit/animationstate/defaultsourcejoints(index:count:transforms:).md)
- [defaultTargetJoints(index:count:transforms:)](realitykit/animationstate/defaulttargetjoints(index:count:transforms:).md)
- [storeAnimatedJoints(transforms:jointIndex:)](realitykit/animationstate/storeanimatedjoints(transforms:jointindex:).md)
- [storeAnimatedValue(_:)](realitykit/animationstate/storeanimatedvalue(_:).md)

## Relationships

### Conforms To

- [AnimationStateProtocol](realitykit/animationstateprotocol.md)

## See Also

### Action events

- [ActionEvent](realitykit/actionevent.md)
- [ActionEventType](realitykit/actioneventtype.md)
- [ActionEventDefinition](realitykit/actioneventdefinition.md)
- [AnimationStateProtocol](realitykit/animationstateprotocol.md)
