UNPKG

hytopia

Version:

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

56 lines (27 loc) 796 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; [exactEquals](./server.vector2.exactequals.md) ## Vector2.exactEquals() method Checks if the current vector is exactly equal to another vector. **Signature:** ```typescript exactEquals(vector2: Vector2): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> vector2 </td><td> [Vector2](./server.vector2.md) </td><td> The vector to compare to the current vector. </td></tr> </tbody></table> **Returns:** boolean `true` if the two vectors are equal, `false` otherwise.