```
const int group = (GetCurrentGroup () + 1) % count;
```