Open main menu

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

turtle.drop
Function
Syntax
turtle.drop()
Returns boolean success
API turtle
Source Lua (source)
ExampleExampleDrop a ítem in front of the turtle.
Prints if turtle successfully dropped the item.
Code
print(turtle.drop())
Output true