# GetSources(List<ConstraintSource>)

> Gets the list of sources.

## Definition

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

```csharp
public void GetSources(List<ConstraintSource> sources)
```

### Parameters

**** (\[List\<ConstraintSource>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): The list of sources to be filled by the component.

### Remarks

Throws ArgumentNullException, if the list of sources is null.
