UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

20 lines (11 loc) 418 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Vector2](./server.vector2.md) &gt; [normalize](./server.vector2.normalize.md) ## Vector2.normalize() method Normalizes the current vector. **Signature:** ```typescript normalize(): Vector2; ``` **Returns:** [Vector2](./server.vector2.md) The current vector.