Difference between revisions of "Turtle.placeDown"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:LuaCoreFunctions)
(Corrected mapping from "Boolean" to "Boolean (type)")
Line 6: Line 6:
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|desc=Places a Block of the selected Slot below  
 
|desc=Places a Block of the selected Slot below  
|returns=[[boolean]] whether the turtle succeeded in placing the block.  False if selected slot is empty, or if there is already a block below.
+
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in placing the block.  False if selected slot is empty, or if there is already a block below.
 
|examples=
 
|examples=
 
{{Example
 
{{Example

Revision as of 13:45, 30 November 2012


Grid Redstone.png  Function turtle.placeDown
Places a Block of the selected Slot below
Syntax turtle.placeDown()
Returns boolean whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block below.
Part of ComputerCraft
API turtle

Examples

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