Plugin Button keeps on "clicked" when used

Hi!

So i’m writing my first plugin.
Now i’ve noticed that when the Plugin’s button is pressed, it keeps showing like it’s being clicked. (See images below)

Clicked state below
B1true

Neutral state below
B1false

How do i make it so that the button returns to it’s neutral state when the function in the Plugin’s script, is done running?

Use SetActive by placing true if it should be pressed and false if it should not be pressed.

So.

local AnchoreAllButton = toolbar:CreateButton(…Long data here…)
AnchoreAllButton.SetActive = false

?