Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findBlockAt

findBlockAt(blockMap, position): Readonly<BlockAtPoint> | null

The cell of the block map blockMap under position, x and z, with its walkable top: a stair’s tread, a blocked cell’s top and not its wall. Null off the map, on a void cell, and before the map’s chunk has reached a page.

Parameter Type
blockMap Entity
position Vector3Like

Readonly<BlockAtPoint> | null