turtle.placeUp

From ComputerCraft Wiki
Revision as of 13:45, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Corrected mapping from "Boolean" to "Boolean (type)")

Jump to: navigation, search


Grid Redstone.png  Function turtle.placeUp
Places a Block of the selected Slot above. See function turtle.select for information on selecting a slot for placement.
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()