Hi, so I created this code which executes fine in the script edtior, it toggles the checker map on/off each time you run the script in the UV editor. //This works fine int $uvToggleChecker = !$uvToggleChecker; if ($uvToggleChecker == 1) { print ("UV checker map turned on."); } else if ($uvToggleChecker == 0) { print ("UV…
Thanks guys, I'm just learning MEL so I don't really understand the rules yet and I'm not a programmer this is my first programming language. Global variable was the problem, and I'll also check out if I can query the panels as suggested as that would be a bit cleaner, I'll post back if I can't get the panels working on my…