turtle.placeUp

From ComputerCraft
Jump to navigation Jump to search

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

Places the block in the turtle’s selected slot above the turtle.

Error creating thumbnail: Unable to save thumbnail to destination
ExamplePlace a block above the turtle
Prints if turtle successfully placed the block.
Code
print(turtle.placeUp())
Output true