Difference between revisions of "Turtle.placeDown"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=turtle.placeDown |args= |api=turtle |addon=ComputerCraft |desc=Places a Block of the selected Slot below |examples= {{Example |desc=Places a Bl...")
 
(Adding "see also" and making description clearer.)
 
(4 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
|api=turtle
 
|api=turtle
 
|addon=ComputerCraft
 
|addon=ComputerCraft
|desc=Places a Block of the selected Slot below  
+
|desc=Places below a Block of the selected Slot.
 +
|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
 
|desc=Places a Block of the selected Slot below  
 
|desc=Places a Block of the selected Slot below  
|code=print(turtle.placeDown())
+
|code=turtle.placeDown()
 
}}
 
}}
 
}}
 
}}
 +
 +
==See also==
 +
*[[turtle.place]]
 +
*[[turtle.placeUp]]
 +
 +
[[Category:Lua_Core_Functions]]

Latest revision as of 18:03, 22 April 2015


Grid Redstone.png  Function turtle.placeDown
Places below a Block of the selected Slot.
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()


See also