Difference between revisions of "Turtle.placeUp"
From ComputerCraft Wiki
(returns bool) |
|||
Line 7: | Line 7: | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Places a Block of the selected Slot above | |desc=Places a Block of the selected Slot above | ||
+ | |returns=[[boolean]] whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block above. | ||
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 13:41, 11 October 2012
Function turtle.placeUp | |
Places a Block of the selected Slot above | |
Syntax | turtle.placeUp() |
Returns | boolean whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block above. |
Part of | ComputerCraft |
API | turtle |
Examples
Example | |
Places a Block of the selected Slot above | |
Code |
turtle.placeUp() |