blockly > Events > Click > targetType

Events.Click.targetType property

The type of element that was clicked; one of 'block', 'workspace', or 'zoom_controls'.

Signature:

targetType?: ClickTarget;