Difference between revisions of "Turtle.getSelectedSlot"
From ComputerCraft Wiki
Apemanzilla (Talk | contribs) |
(Adding "see also".) |
||
| Line 19: | Line 19: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | ==See also== | ||
| + | *[[turtle.select]] | ||
[[Category:API_Functions]] | [[Category:API_Functions]] | ||
Revision as of 23:15, 26 April 2015
| 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 |
Examples