How can i toggle between umenu presets using only 1 button?

johnmakesmusic's icon

I'm new to Max and this is probably really simple, but i want to use 1 button on my wiimote to move through three different samples in umenu, and then start from the beginning again. Been staring at the screen for ages. Help!

commathe's icon

Try using a counter object? You could use the button to trigger a bang and that way the counter object will wrap around from the end back to the beginning. Set the maximum as 2, that way it will output 0 then 1 then 2 then 0 then 1 then... you get idea.

johnmakesmusic's icon

Thanks, that worked a treat. I thought it would be simple but i'm a total beginner at this..

commathe's icon

No worries! It's the simplest problems that I get the most stuck on often. Can't see the forest for the trees!