# KeepAlive()

> Will not return the object to the instance pool when the animation has completed.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements.Experimental](/engine/6000.5/script-reference/unityengine/uielements/experimental.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public ValueAnimation<T> KeepAlive()
```

### Returns

| Type                                                                                                         | Description |
| ------------------------------------------------------------------------------------------------------------ | ----------- |
| [ValueAnimation\<T>](/engine/6000.5/script-reference/unityengine/uielements/experimental/valueanimation1.md) |             |
