sketch.block.id

Syntax

i := sketch.block.id(bp)

Get the block ID number, a unique number assigned by the code when it is created.

Returns:

i - the block ID number

Arguments:

bp - a pointer to a block