turtle.place
From ComputerCraft Wiki
| Place the selected block infront of the Turtle. | |
| Syntax | turtle.place() |
| Returns | boolean whether the turtle succeeded in moving forwards |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Places the selected block infront of the Turtle. | |
| Code |
print(turtle.place()) |
| Output | true if the turtle placed a block, false if unable to place e.g nothing in the inventory. |