# Vector3.Dot

## Overload 1

```csharp
static float Dot(in Vector3 a, in Vector3 b)
```

Returns the scalar/dot product of the 2 given vectors.

### Parameters

- `in a` (`Vector3`)
- `in b` (`Vector3`)

### Returns

`float`

## Overload 2

```csharp
float Dot(in Vector3 b)
```

Returns the scalar/dot product of this and the given vectors.

### Parameters

- `in b` (`Vector3`)

### Returns

`float`

Declared in [Vector3](/api/Vector3).
Assembly: `Sandbox.System`.
