Skip to main content

sdk.appstateapi.getactivetool

Home > @kittl/sdk > AppStateAPI > getActiveTool

AppStateAPI.getActiveTool() method

Gets the currently active tool (artboard, move, pen, comment, shape, etc.).

Signature:

getActiveTool(): ActiveTool | null;

Returns:

ActiveTool | null

The active tool or null if no tool is active