Can't deselect 'Select' tool using plugin?

I tried to de-select the select, size, move tools when I click a plugin button.
Only function I found was this:

plugin:SelectRibbonTool(9, UDim2.new(0,0,0,0))

But it gives this error:
image

The animation plugin unequips all tools when you start it, how?

The animation editor didn’t actually use SelectRibbonTool. It actually uses Activate with the first parameter set to true, which is exclusiveMouse as the wiki calls it. When the exclusiveMouse param is set to true, all of the studio tools will be disabled. Hope this helps.

6 Likes

Good news!
I just activated a change that will allow you to call
plugin:SelectRibbon(Enum.RibbonTool.None, Udim2.new(0,0,0,0))

It will no longer print an error, and it will deselect the current tool.