Tells whether a tool is disabled. Tools without a button return false.
The tool name.
true when the tool is disabled.
true
const disabled = instance.UI.isToolDisabled(instance.Core.Tools.ToolNames.RECTANGLE); Copy
const disabled = instance.UI.isToolDisabled(instance.Core.Tools.ToolNames.RECTANGLE);
Tells whether a tool is disabled. Tools without a button return false.