Tool.getId

Returns the id of a tool.

Kind: Function

Environments: Game

Game

tool:getId(  )

Open the full Game reference

Parameters:

Name Type Description
tool Tool The tool.

Returns:

Type Description
integer The tool's id.