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
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Player](./server.player.md) > [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