# Set(int, int, int)

> Set x, y and z components of an existing Vector3Int.

## Definition

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

```csharp
public void Set(int x, int y, int z)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): A value for the x component.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): A value for the y component.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): A value for the z component.
