hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
20 lines (14 loc) • 670 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [ChunkLatticeEventPayloads](./server.chunklatticeeventpayloads.md) > ["CHUNK\_LATTICE.SET\_BLOCK"](./server.chunklatticeeventpayloads._chunk_lattice.set_block_.md)
## ChunkLatticeEventPayloads."CHUNK\_LATTICE.SET\_BLOCK" property
Emitted when a block is set in the lattice.
**Signature:**
```typescript
[ChunkLatticeEvent.SET_BLOCK]: {
chunkLattice: ChunkLattice;
chunk: Chunk;
globalCoordinate: Vector3Like;
localCoordinate: Vector3Like;
blockTypeId: number;
};
```