Turtle.suck

From ComputerCraft
Jump to navigation Jump to search
FunctionFunctionturtle.place
Picks up a item in front of the turtle
Syntax turtle.place()
Returns integer amount
Part of Lua (source)
API turtle
ExampleExamplePickup a item
Prints the amount of items the turtle picks up.
Code
print(turtle.suck())
Output true