Turtle.suckUp

Functionturtle.place
Picks up a item above the turtle
Syntax turtle.place()
Returns integer amount
Part of Lua (source)
API turtle
ExamplePickup a item above the turtle.
Prints the amount of items the turtle picks up.
Code
print(turtle.suckUp())
Output 3
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.