Skip to main content

sdk.appstateapi.setactivetool

Home > @kittl/sdk > AppStateAPI > setActiveTool

AppStateAPI.setActiveTool() method

Sets the active tool.

Signature:

setActiveTool(tool: ActiveTool | null): void;

Parameters

Parameter

Type

Description

tool

ActiveTool | null

The tool to activate, or null to deactivate

Returns:

void