How do we make a plugin icon change on click?

I’ve been trying to make a plugin like when you open the plugin the icon’s image changes, but i dont really know how to do that. Is this possible to do? A detailed description is appreciated on how to do this if it is possible. Thanks!

1 Like

Not 100% sure.
However, I did a quick search and soon found this:

So, probably not. :confused:

(the post is from 2017, so it may be outdated. Someone else may be able to shed light on the situation?)

1 Like

RIP. Thanks for answering my question!

1 Like

https://www.roblox.com/library/3550088966/Backdoor-Scanner the thing is this guy was able to do it so im not sure

This appears to be fixed, as one of my plugins can change icons perfectly fine.
https://gyazo.com/66033ebb6276a1d9f9e19b1f6f59afbe

@ElectronicDroid
Just make sure you’re inputting the image id, not the decal id.

2 Likes

So do we use mousebutton1click?

What you use to change it shouldn’t matter, as long as it’s executed from the plugin script. The icon in the gif above updates for mouse clicks (using PluginToolbarButton.Click iirc) and also auto-updates every few seconds.

1 Like