turtle.select

From ComputerCraft
Jump to: navigation, search

turtle.select
Function
Syntax
turtle.select()
API turtle

Sets the currently selected slot to slot

ExampleExampleMove an Item
This code simply will move an item from slot 4 to slot 7, using turtle.transferTo.
Code
turtle.select(4)
turtle.transferTo(7)