<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [server](./server.md) &gt; [Quaternion](./server.quaternion.md) &gt; [scale](./server.quaternion.scale.md)

## Quaternion.scale() method

Scales the quaternion by a scalar value.

**Signature:**

```typescript
scale(scale: number): Quaternion;
```

## Parameters

<table><thead><tr><th>

Parameter


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

scale


</td><td>

number


</td><td>

The scalar value to scale the quaternion by.


</td></tr>
</tbody></table>
**Returns:**

[Quaternion](./server.quaternion.md)

The current quaternion.

