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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Sheet Worker Script - on click event

1527183550
AquaAlex
Sheet Author
Translator
API Scripter
It would be really awesome if we could have an on click event to for the Sheet Worker Scripts So if someone click ons a button we can do some background actions on("click:ButtonName", function() {})
1527187588
Jakob
Sheet Author
API Scripter
You can already do this. Take a checkbox, style it (or rather, a label containing it) like a button, and you can react to a change of the underlying attribute.
1527189011

Edited 1527189030
AquaAlex
Sheet Author
Translator
API Scripter
Jakob said: You can already do this. Take a checkbox, style it (or rather, a label containing it) like a button, and you can react to a change of the underlying attribute. Thanks :)   The Aaron already told me :) But  I am one of those strange people that actually likes a proper event to be captured LOL
1527195771
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Would be useful for doing things like automated ammunition usage without resorting to the API
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .