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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Play Now
Join a Game
Characters
Shop
Tools
Compendium
Community
Sign In
Is there a way to find a list of all tokens on a given page?
It seems to me that I can't easily find tokens, sometimes because they're off the edge of the map or they're stacked on top of each other. Is there a way to access a list of tokens on a given map, and select them from that list?
It depends on what is meant by “selection”. If it is simply find and manipulate, the API can do it. If it is select in the user interface for manipulation with the mouse, it cannot.
Adam did say "access a list of tokens and select from that list," which reads to me as "present a dropdown box for selection of the token" which should certainly be doable. I guess it depends what he actually wants to do with the selection once done.
I had assumed selected as in "grabbed on the tabletop". Selecting and acting upon a list of tokens programmatically is certainly possible by the API, and many scripts do it.