momentary setting a digital tag

I am trying to create a button that will set a digital tag to 1 momentarily then change it back to zero. Tried putting %Tag%=1 in the mouse down field and %Tag%=0 in the mouse up field, but that did not work. Wondered if there was maybe a way to automatically toggle twice with one click, "Toggle(%Tag%) " "insert some kind of delay here then" "Toggle(%Tag%)" again?

Any help is appreciated.

Parents Reply Children