five-on-it / apps/client/src/ui/studio/town / townHit
Function: townHit()
townHit(
spec,__namedParameters): {line: {axis:"x"|"z";index:number; }; } | {cell:Cell; } |undefined
Defined in: apps/client/src/ui/studio/town.ts:72
What a point of the game's frame is on: a street line (within its half width and 3 m), else a block, else nothing.
Parameters
spec
__namedParameters
Returns
{ line: { axis: "x" | "z"; index: number; }; } | { cell: Cell; } | undefined