extrude.set.block.near

Syntax

bp = extrude.set.block.near(sp,v<,f>)

Get the block nearest to a position. Null is returned if no block is found.

Returns:

bp - block pointer

Arguments:

sp - extrude set pointer

v - position (2D vector)

f - search radius (optional)