# ConstraintSource

> Represents a source for the constraint.

## Definition

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

```csharp
public struct ConstraintSource
```

## Properties

| Property                                                                                                      | Description                                                   |
| ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [sourceTransform](/engine/6000.0/script-reference/unityengine/animations/constraintsource/sourcetransform.md) | The transform component of the source object.                 |
| [weight](/engine/6000.0/script-reference/unityengine/animations/constraintsource/weight.md)                   | The weight of the source in the evaluation of the constraint. |
