Hello,
Yes you can use that event to detect double clicks! Here is how they do it in
App Inventor:
```js
if (event instanceof Blockly.Events.Click) {
if (this.doubleClickPid_) {
clearTimeout(this.doubleClickPid_);
this.doubleClickPid_ = undefined;
if (event.blockId === this.doubleClickBlock_) {
var block = this.getBlockById(this.doubleClickBlock_);
// Do actions here!!
return;
}
}
if (!this.doubleClickPid_) {
this.doubleClickBlock_ = event.blockId;
this.doubleClickPid_ = setTimeout(function() {
this.doubleClickPid_ = undefined;
}.bind(this), 500); // windows uses 500ms as the default speed; seems reasonable enough
}
}
```
Note that they have their implementation in the `fireChangeListener` method, but you shouldn't need to do this. You can include the above code in a change listener just like your current logging.
I hope that helps! If you have any further questions please reply =)
--Beka