Message 1 of 22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everybody!
I tried the script in "Script Editor":
isPlaying = False
isPausing = False
def myPlayToggle():
global isPlaying
global isPausing
if not isPlaying:
playCAnimation("Insieme")
isPlaying = True
else:
isPausing = not isPausing
pauseCAnimation("Insieme", isPausing)
Once I do double click on the Variant is not running.
And the promp write the message:
File "<string>", line 1, in <module>
NameError: name 'myPlayToggle' is not defined
Can someone help me?
I attach the sample file.
Thank you
Solved! Go to Solution.