turtle.drop

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

ExampleDrop a ítem in front of the turtle.
Prints if turtle successfully dropped the item.
Code
print(turtle.drop())
Output true

turtle.drop
Function
Syntax
turtle.drop()
Returns boolean success
API turtle
Source Lua (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.