turtle.drop

From ComputerCraft
Jump to navigation Jump to search

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

Drops the item item in the turtle’s selected slot in front of the turtle.

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