Difference between revisions of "Turtle.getSelectedSlot"
From ComputerCraft Wiki
Bomb Bloke (Talk | contribs) |
Bomb Bloke (Talk | contribs) m |
||
Line 7: | Line 7: | ||
|desc=Added by version 1.6 of ComputerCraft, this command returns the currently selected inventory slot. In builds prior this value must be tracked manually by the scripter.<br><br> | |desc=Added by version 1.6 of ComputerCraft, this command returns the currently selected inventory slot. In builds prior this value must be tracked manually by the scripter.<br><br> | ||
− | See also: [[Turtle. | + | See also: [[Turtle.select|turtle.select()]] |
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 01:23, 29 March 2014
Function turtle.getSelectedSlot | |
Added by version 1.6 of ComputerCraft, this command returns the currently selected inventory slot. In builds prior this value must be tracked manually by the scripter. See also: turtle.select() | |
Syntax | turtle.getSelectedSlot() |
Returns | A number-type indicating the currently selected slot. |
Part of | ComputerCraft |
API | turtle |