# GetJobData<T>()

> Gets the job data contained in the playable.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.5/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public T GetJobData<T>() where T : struct, IAnimationJob
```

### Returns

| Type | Description                                                                                                                          |
| ---- | ------------------------------------------------------------------------------------------------------------------------------------ |
| T    | Returns the [IAnimationJob](/engine/6000.5/script-reference/unityengine/animations/ianimationjob.md) data contained in the playable. |

### Remarks

The generic type must be the same as the one used for the creation of the playable, otherwise an `ArgumentException` is raised.

Additional Resources: the example in [AnimationScriptPlayable.Create](/engine/6000.5/script-reference/unityengine/animations/animationscriptplayable/create.md).
