turtle.place

From ComputerCraft Wiki
Revision as of 13:39, 11 October 2012 by Dadmob18 (Talk | contribs) (returns bool)

Jump to: navigation, search


Grid Redstone.png  Function turtle.place
Places the selected block in front of the Turtle. Add [signText] to sign if given.
Syntax turtle.place()
Returns boolean whether the turtle succeeded in placing the block. False if empty inventory, or if already a block in front.
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Places the selected block in front of the Turtle.
Code
turtle.place()