# OnCompleted(Action)

> Sets a callback invoked when this animation has completed.

## Definition

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

```csharp
public ValueAnimation<T> OnCompleted(Action callback)
```

### Parameters

**** (\[Action]\(https\://learn.microsoft.com/dotnet/api/system.action)):&#x20;

### Returns

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