-
March 27th, 2022, 00:45 #1
How do I remove a callback for tokeninstance.onDragEnd?
Actually this question is for any of the callbacks in Token and tokeninstance - how do I unset them? For example...
tokeninstance.onDragEnd = myfunction;
or
Token.onDrag = myfunction;
How do I remove those settings in runtime? Experimentation seems to show that everytime I add one in - it will actually add it in as if its a list - and call it multiple times. I know how to push an entry onto this callback list as shown above - how do I pull off something in these callback lists?Free(Forums/Forge) Extension(FGU 5E):
Paid (Forge) Extension(FGU 5E):
-
March 27th, 2022, 05:39 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,564
You can not remove a callback from global handler registration.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks