Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

tokenMod autorun when dragging a new instance?

How do I get this command: !token-mod --set currentside|* to run every time I drag a character from my journal to the map tabletop? I'm very new to API but not new to Javascript and coding in general.
Ah nevermind, for whatever reason this command doesn't work with marketplace assets. So close yet so far away.
1608697195
The Aaron
Roll20 Production Team
API Scripter
Yeah, the API can't access Marketplace assets.  If you want to be able to change them, you'll need to download the images and upload them to your user library.