Notifications
Clear all

[Closed] Change Toolbar Icon with Event

My script is in the main tool bar as a button. When it’s on it deletes the icon from the icon folder then copies a different icon and replaces it with the old one. Then I use colorman.reInitIcons(). This does the job but its a little slow and causes the entire max ui to flicker.

Is there a more efficient way to do this? Can I use colorman.reInitIcons() and just refresh the one button?

Thanks.