turtle.getSelectedSlot
From ComputerCraft Wiki
Revision as of 23:21, 26 April 2015 by MisterSanderson (Talk | contribs) (Removing the old "see also".)
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. | |
Syntax | turtle.getSelectedSlot() |
Returns | number selected slot |
Part of | ComputerCraft |
API | turtle |
Examples