Difference between revisions of "Turtle.detectDown"

From ComputerCraft Wiki
Jump to: navigation, search
(Moved to CAT:LuaCoreFunctions)
(Corrected mapping from "Boolean" to "Boolean (type)")
Line 4: Line 4:
 
|args=
 
|args=
 
|api=turtle
 
|api=turtle
|returns=[[boolean]] If turtle has Detected a Block Below.
+
|returns=[[boolean_(type)|boolean]] If turtle has Detected a Block Below.
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|desc=Detects if there is a Block Below.
 
|desc=Detects if there is a Block Below.

Revision as of 13:46, 30 November 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()