Hello all,

This is a fairly simple abstraction but that can be handy for someone. [tglclick] is a toggle that responds to mouse clicks: if you click on it and hold, it will output 1 until you release the mouse button. You can click and hold and move the mouse elsewhere, and the value of this toggle will continue to be 1 until the moment you release it.

You can download it here: tglclick.zip

Best,
Gilbertp