hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
20 lines (11 loc) • 409 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Matrix2](./server.matrix2.md) > [clone](./server.matrix2.clone.md)
## Matrix2.clone() method
Clones the current matrix.
**Signature:**
```typescript
clone(): Matrix2;
```
**Returns:**
[Matrix2](./server.matrix2.md)
A clone of the current matrix.