Toggle enabling Preset using 'up/down' of key command

Yes I’m looking to Toggle presets on and off with a midi signal.

I followed this post’s instructions and was able to map ‘z9’ as a variable, but it’s only working for 1 preset on/off toggle. When I try to add the variable to additional presets it will no longer toggle on/off.

Toggle a keystroke down/up with the same incoming signal? - #4 by namttam1992

Here’s what I put in to the Translator rules per that post to get one of the 40 presets to toggle successfully:

–First press Rules (disables preset):
go=go^1

if go==0 then exit rules, skip Outgoing Action

–Second Press Rules (reenables preset):

if go==1 then exit rules, skip Outgoing Action

Edit: I changed from “z9” to “go” to use a Global Variable if this matters. I assume using the same variable in this many translators for toggle switching presets is causing a conflict, resulting in the toggle state not functioning.

I’m not sure how the APC mini posting you shared is related to toggling presets within MIDI Translator.