NamespacesEventsblockly.events.blockmove.setreasonOn this pageHome > blockly > Events > BlockMove > setReason Events.BlockMove.setReason() method Set the reason for a move event. Signature: setReason(reason: string[]): void; Parameters ParameterTypeDescriptionreasonstring[]Why is this move happening? 'drag', 'bump', 'snap', ... Returns: void