turtle.place

Places a block in the turtle’s selected slot in front of the turtle.

ExamplePlace a block
Prints if turtle successfully placed the block.
Code
print(turtle.place())
Output true

turtle.place
Function
Syntax
turtle.place()
Returns boolean success
API peripheral
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.