UNPKG

hytopia

Version:

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

21 lines (11 loc) 521 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [Player](./server.player.md) &gt; [maxInteractDistance](./server.player.maxinteractdistance.md) ## Player.maxInteractDistance property The maximum distance a player can interact with entities or blocks. **Signature:** ```typescript get maxInteractDistance(): number; ``` ## Remarks Measured in world blocks. Defaults to `20`<!-- -->. \*\*Category:\*\* Players