Can't deselect 'Select' tool using plugin?


#1

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?


#2

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.