turtle.getSelectedSlot
From ComputerCraft Wiki
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 |