tool

Specifies which tool is currently chosen.

# Metadata

Platforms: desktop, mobile OS: mac, windows, linux, ios, android Introduced: 1.0 Security:

# Syntax

set the tool to toolName

# Examples

set the tool to "button tool"

set the tool to pointer

# Description

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".

# Tags

# See

- **property:** powerKeys - **command:** choose - **function:** tool - **control structure:** function - **glossary:** property, command, return