Change button colors as slides change

Hi,
It is probably possible. but it’s hard to understand from your description what exactly you’re trying to do, so please elaborate, add details, screenshots,