I\'m creating pinball game using Phaser Framework.
When the ball holder is pressed (please check attached screenshot so you have an idea what I mean ball holder), d
in phaser 3 something like
function update(){ var duration = 0 if( this.input.activePointer.isDown ){ duration++; } }