---
title: "removeAnimation(for:)"
framework: realitykit
role: symbol
role_heading: Type Method
path: "realitykit/sampledanimation/skeletalanimationoperation/removeanimation(for:)"
---

# removeAnimation(for:)

Removes animation for the specified joint.

## Declaration

```swift
static func removeAnimation(for jointName: String) -> SampledAnimation<Value>.SkeletalAnimationOperation
```

## Parameters

- `jointName`: Name of the joint to remove animation from.

## Return Value

Return Value A SkeletalAnimationOperation that, when processed, produces a SampledAnimation<JointTransforms> with animation removed.
