button mouse up and down

gratkowski's icon

is there a button which sends a message on mouse up and down?
like 0 on mouse-up and 1 on mouse down.

brendan mccloskey's icon

[mousestate] does this and more - you need to poll it though, ie send it [metro] bangs to get 0/1 output for mouse-up/down

Brendan

bkshepard's icon

The ubutton has separate outlets for mouse up and mouse down, so you could place it over your graphic button.

gratkowski's icon

thanks, frank