---
title: "subscript(withoutAnimation:)"
framework: realitykit
role: symbol
role_heading: Instance Subscript
path: "realitykit/entity/subscript(withoutanimation:)"
---

# subscript(withoutAnimation:)

Gets or sets the component of the specified type, without considering implicit animations.

## Declaration

```swift
@MainActor @preconcurrency subscript<T>(withoutAnimation componentType: T.Type) -> T? where T : Component { get set }
```

## Overview

Overview This is only useful in specialized circumstances, such as in a tight loop, where you are certain there are no animations active.
