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

Click events?

All the examples I've seen in the API have to do with change events and add events. I'd like to be able to capture click events. I'd like to move an object to a specific pre-set location if the user double clicks on it (or Alt-clicks on it or Cmd-clicks on it). Is there some code I can use to capture those events?
No, but you could put a token action on that object and the player could activate the macro to trigger an api command.