Forums > MaxMSP

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

Jan 14 2013 | 8:07 am

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.


Jan 14 2013 | 8:25 am

Would a ubutton work for you?

Jan 14 2013 | 8:25 am

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

-- Pasted Max Patch, click to expand. --

Jan 14 2013 | 9:25 am

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

Much appreciated!

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP