Stay organized with collections Save and categorize content based on your preferences.

blockly > Events > MarkerMove > (constructor)

Events.MarkerMove.(constructor)

Constructs a new instance of the MarkerMove class

Signature:

constructor(opt_block?: Block | null, isCursor?: boolean, opt_oldNode?: ASTNode | null, opt_newNode?: ASTNode);

Parameters

Parameter Type Description
opt_block Block | null (Optional) The affected block. Null if current node is of type workspace. Undefined for a blank event.
isCursor boolean (Optional) Whether this is a cursor event. Undefined for a blank event.
opt_oldNode ASTNode | null (Optional) The old node the marker used to be on. Undefined for a blank event.
opt_newNode ASTNode (Optional) The new node the marker is now on. Undefined for a blank event.