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

Can Token Bar Colors be changed via API?

I was wondering if scripts were able to access and change the Token bar colors, as a meter for heath status. So as HP goes down the bar color would go from green to yellow to red for example.
1580338787

Edited 1580338951
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Since it is not a settable attribute of Token-Mod, my guess would be no. The Aaron would probably be the authority on this, though. It's my understanding that bar color is set game-wide, not per token.
1580341033
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
The token bar colors are a game wide setting set by the gm, not specific to each token.
1580348902
GiGs
Pro
Sheet Author
API Scripter
There's a Health Aura script that changes the color of a token's aura to show them getting deaded - starting off green and ending up at red. It might be worth checking out.
Thanks everyone I'll look into that script.