GET TOOL SELECTED: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
Mikeo (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected>
{{Command|syntax=GET_TOOL_SELECTED <tool number>, <selected>
|description=Check to see if a tool us currently selected.
|description=:Check to see if a tool us currently selected.


|param1=<tool number>|param1_desc={{tool number}}
|param1=<tool number>|param1_desc={{tool number}}
Line 9: Line 9:


===Example===
===Example===
:GET_TOOL_SELECTED
:GET_TOOL_SELECTED 3, iSelected


[[Category:Tools]]
[[Category:Tools]]

Latest revision as of 23:35, 14 January 2011

Up

Command

GET_TOOL_SELECTED <tool number>, <selected>


Check to see if a tool us currently selected.

Parameters

<tool number>
Tool number
<selected>
1=selected, 0=not selected

Example

GET_TOOL_SELECTED 3, iSelected