Difference between revisions of "Turtle.getSelectedSlot"
From ComputerCraft Wiki
Bomb Bloke (Talk | contribs) m |
Apemanzilla (Talk | contribs) |
||
Line 3: | Line 3: | ||
|name=turtle.getSelectedSlot | |name=turtle.getSelectedSlot | ||
|api=turtle | |api=turtle | ||
− | |returns= | + | |returns={{Type|number}} selected slot |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|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> |
Revision as of 18:37, 4 June 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 | number selected slot |
Part of | ComputerCraft |
API | turtle |