# Scale

> Multiplies two vectors component-wise.

## Definition

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

## Scale(Vector2Int, Vector2Int)

Multiplies two vectors component-wise.

```csharp
public static Vector2Int Scale(Vector2Int a, Vector2Int b)
```

### Parameters

**** (\[Vector2Int]\(/engine/6000.7/script-reference/unityengine/vector2int)): The vector to multiply by `b`.**** (\[Vector2Int]\(/engine/6000.7/script-reference/unityengine/vector2int)): The vector to multiply `a` by.

### Returns

| Type                                                                    | Description                                                 |
| ----------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Vector2Int](/engine/6000.7/script-reference/unityengine/vector2int.md) | A component of `a` multiplied by the same component of `b`. |

### Remarks

Every component in the result is a component of `a` multiplied by the same component of `b`.

## Scale(Vector2Int, Vector2Int)

Multiplies two vectors component-wise.

```csharp
public static Vector2Int Scale(in Vector2Int a, in Vector2Int b)
```

### Parameters

**** (\[Vector2Int]\(/engine/6000.7/script-reference/unityengine/vector2int)): The vector to multiply by `b`.**** (\[Vector2Int]\(/engine/6000.7/script-reference/unityengine/vector2int)): The vector to multiply `a` by.

### Returns

| Type                                                                    | Description                                                 |
| ----------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Vector2Int](/engine/6000.7/script-reference/unityengine/vector2int.md) | A component of `a` multiplied by the same component of `b`. |

### Remarks

Every component in the result is a component of `a` multiplied by the same component of `b`.

## Scale(Vector2Int)

Multiplies every component of this vector by the same component of `scale`.

```csharp
public void Scale(Vector2Int scale)
```

### Parameters

**** (\[Vector2Int]\(/engine/6000.7/script-reference/unityengine/vector2int)): The vector to multiply by.

## Scale(Vector2Int)

Multiplies every component of this vector by the same component of `scale`.

```csharp
public void Scale(in Vector2Int scale)
```

### Parameters

**** (\[Vector2Int]\(/engine/6000.7/script-reference/unityengine/vector2int)): The vector to multiply by.
