turtle.dropUp

From ComputerCraft
Jump to navigation Jump to search

turtle.dropUp
Function
Syntax
turtle.dropUp()
Returns boolean success
API turtle
Source Lua (source)

Drops the item item in the turtle’s selected slot above the turtle.

Error creating thumbnail: Unable to save thumbnail to destination
ExampleDrop a ítem above the turtle.
Prints if turtle successfully dropped the item.
Code
print(turtle.dropUp())
Output true