<!-- 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

