Difference between revisions of "Turtle.detectDown"

From ComputerCraft Wiki
Jump to: navigation, search
(Created page with "{{lowercase}} {{Function |name=turtle.detectDown |args= |api=turtle |returns=boolean If turtle has Detected a Block Below. |addon=ComputerCraft |desc=Detects if there is a...")
 
m
Line 10: Line 10:
 
{{Example
 
{{Example
 
|desc=Detects if there is a Block Below.
 
|desc=Detects if there is a Block Below.
|code=print(turtle.detectDown())
+
|code=turtle.detectDown()
 
}}
 
}}
 
}}
 
}}

Revision as of 21:13, 15 March 2012


Grid Redstone.png  Function turtle.detectDown
Detects if there is a Block Below.
Syntax turtle.detectDown()
Returns boolean If turtle has Detected a Block Below.
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Detects if there is a Block Below.
Code
turtle.detectDown()