# Sample()

> Samples animations at the current state.

## Definition

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

```csharp
public void Sample()
```

### Remarks

This is useful when you explicitly want to set up some animation state, and sample it once.
