I’m trying to get the pads on my midi controller to switch a toggle object on/off. I can get the pad to toggle but only momentarily - switches on when I push then off when I release. I would like to make it so that 1st time I push and release the pad it turns the toggle on then 2nd time it switches off. I’m thinking I need some way of detecting the toggle state or is there a simpler way of doing this.
I hope my question is clear and any help would be appreciated.
Cheers.