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

Changing the selected Token

Hi there, Fairly recent subscriber, i'm just getting the hang on the API. Though i read the wiki, i can't seem to find how the selection is handled. I'm using a turn tracker and i'd like to modify the script so that the selected token is changed accordingly. Thanks for pointing me in the direction.
1476869880
Jakob
Sheet Author
API Scripter
Honu A. said: Hi there, Fairly recent subscriber, i'm just getting the hang on the API. Though i read the wiki, i can't seem to find how the selection is handled. I'm using a turn tracker and i'd like to modify the script so that the selected token is changed accordingly. Thanks for pointing me in the direction. Alas, the API cannot change which token you have selected in the tabletop.  Though I believe there are scripts that e.g. highlight the token at the top of the turn order. 
Well, that's too bad. Indeed the script i use provides a marker that highlight the token at the top, but it would have been convenient that the selection is changed. Thank you for your prompt response.