UNPKG

hytopia

Version:

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

20 lines (14 loc) 630 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [EntityEventPayloads](./server.entityeventpayloads.md) &gt; ["ENTITY.BLOCK\_COLLISION"](./server.entityeventpayloads._entity.block_collision_.md) ## EntityEventPayloads."ENTITY.BLOCK\_COLLISION" property Emitted when an entity collides with a block type. **Signature:** ```typescript [EntityEvent.BLOCK_COLLISION]: { entity: Entity; blockType: BlockType; started: boolean; colliderHandleA: number; colliderHandleB: number; }; ```