Flux.Tool class
Part of Flow
Loads and stores the tools of the tool gun. Sandbox only loads tools from the folder of its
tool gun entity, so Flux has a loader of its own: every file in the tools folder of Flux,
the schema or a plugin is included with a new Tool object in the TOOL global, the way a
Sandbox tool file expects it, and the resulting tool is stored under its mode, which is the
ID taken from the file name. Flux.Tool:get returns a stored tool.
Summary
Methods
get(id)shared
Returns the tool with the specified ID.
Methods
Returns the tool with the specified ID.
Parameters
- id String tool ID (the tool mode)
Returns
- Tool the tool, or nil if there is no such tool