turtle.select

From ComputerCraft
Jump to navigation Jump to search

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

Sets the currently selected slot to slot

Error creating thumbnail: Unable to save thumbnail to destination
ExampleMove 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)