So to add context to this question: I have a turn in the turn order named Round and it counts +1 every time it reaches its turn. This is to help track the rounds that pass during combat for very specific mechanics. What I'm trying to accomplish is making an API that clears a specific status from all tokens on the map when it reaches the new Round and it counts up. So if any tokens had say, the Stasis status, the API would clear it from all tokens when the turn order gets to Round. My knowledge of JavaScript is decent but I'm having trouble figuring out how to have the API either find the status marker itself on tokens and remove it or go through all tokens on the map and check for the status and then clear it. I managed to sorta make the latter work but it was prone to lag in larger group fights. I have also failed miserably to find any documentation for statuses specifically, and have basically tested other existing APIs and learned what worked from those. Any help or ideas would be greatly appreciated. In the past I did have success with clearing specific statuses from tokens using their order in the turn order, EG clearing Poison when it reaches someone's turn but that's not what I'm after this time.