block.near

Syntax

b = block.near(v<,b>)

Get the block closest to v. The optional second input can be used to search only visible blocks. Set b = true to search only visible blocks. The default is b = false (searching all blocks).

Returns: blp - block pointer v - position b - optional flag that determines if only visible blocks are searched b = $$true$$). Be default b = $$false$$.