hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
56 lines (27 loc) • 805 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Vector3](./server.vector3.md) > [multiply](./server.vector3.multiply.md)
## Vector3.multiply() method
Multiplies each component of the current vector by the corresponding component of another vector.
**Signature:**
```typescript
multiply(vector3: Vector3): Vector3;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
vector3
</td><td>
[Vector3](./server.vector3.md)
</td><td>
The vector to multiply the current vector by.
</td></tr>
</tbody></table>
**Returns:**
[Vector3](./server.vector3.md)
The current vector.