UI object similar to button/textbutton, but reports both mouse down and up?

Steven Miller's icon

Maybe I'm missing something obvious, but is there a standard simple UI object similar to [button]/[textbutton] that either sends a bang on mouse down AND mouse up (not either/or), or better yet sends a 1 when 'pressed' and sends a 0 when 'released'? I've been scouring around the help docs, but nothing is coming up. Seems like a very simple thing, and would hate to go build my own if something already exists and I'm simply overlooking it.

Thanks!

AudioLemon's icon

Would a ubutton work for you?

Medd's icon
Max Patch
Copy patch and select New From Clipboard in Max.

[pictctrl] sends 1 or 0, and [ubutton] has separate outlets for each event:

Steven Miller's icon

Thanks to you both...I think the immediate need will be met by [pictctrl].

Much appreciated!