Skip to main content

Home > blockly > Events > CommentMove > setReason

Events.CommentMove.setReason() method

Sets the reason for a move event.

Signature:

setReason(reason: string[]): void;

Parameters

ParameterTypeDescription
reasonstring[]Why is this move happening? 'drag', 'bump', 'snap', ...

Returns:

void