Difference between revisions of "Turtle.placeUp"

From ComputerCraft Wiki
Jump to: navigation, search
(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


Grid Redstone.png  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

Grid paper.png  Example
Places a Block of the selected Slot above
Code
turtle.placeUp()