import * as Blockly from "blockly"; import { javascriptGenerator } from "blockly/javascript"; Blockly.Blocks['object_clicked_event'] = { init(this: Blockly.Block) { this.appendDummyInput() .appendField('When I\'m clicked'); this.setStyle('event_hat'); this.setNextStatement(true); this.setTooltip('Fires when an object is clicked'); } }; javascriptGenerator.forBlock['object_clicked_event'] = function (_block, _generator) { return ''; }; export { };