Simple Swicht?

Hi Dudes!

I need some help, in the renderer(EX9) you can find a pin “clear”, i need a swicht for change it state with a key of the keyboard, i mean, for example, pressing the X the clear state go to 0 and if i press X again the state return to 1, how do that?

Cheers!
Thanks.

Hmm, still can’t attach files… strange

edit 1: hmm, u7angel beat me to it

edit 2: weird, now the upload worked…

clearwithx.v4p (3.6 kB)

see patch… no text …

toggle.v4p (4.8 kB)

jajajaja wow THANKS!!! just what i was looking for!!!