hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
18 lines (12 loc) • 568 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [BlockTypeEventPayloads](./server.blocktypeeventpayloads.md) > ["BLOCK\_TYPE.INTERACT"](./server.blocktypeeventpayloads._block_type.interact_.md)
## BlockTypeEventPayloads."BLOCK\_TYPE.INTERACT" property
Emitted when a player interacts with a block type.
**Signature:**
```typescript
[BlockTypeEvent.INTERACT]: {
blockType: BlockType;
player: Player;
raycastHit?: RaycastHit;
};
```