FANDOM


Specifies which tool is currently chosen.

Built-in Function handler Edit

Syntax:

set the tool [of <stack>] to <toolName>

Examples:

set the tool to "button tool"
set the tool to pointer

Use the tool property to check which tool is in use before performing an action that depends on the tool.

The tool names are the same as the names used with the choose command to select a tool for use.

Setting the tool is equivalent to choosing the tool with the choose command. When setting the tool property, you can omit the word "tool".

See also: tool (function), powerKeys (property),

Community content is available under CC-BY-SA unless otherwise noted.