# SetPosition(AnimationStream, Vector3)

> Sets the position of the transform in world space.

## Definition

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

```csharp
public void SetPosition(AnimationStream stream, Vector3 position)
```

### Parameters

**** (\[AnimationStream]\(/engine/6000.5/script-reference/unityengine/animations/animationstream)): The [AnimationStream](/engine/6000.5/script-reference/unityengine/animations/animationstream.md) that holds the animated values.**** (\[Vector3]\(/engine/6000.5/script-reference/unityengine/vector3)): The position of the transform in world space.
