Difference between revisions of "Turtle.detectUp"
From ComputerCraft Wiki
m (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 Above. | + | |returns=[[boolean_(type)|boolean]] If turtle has Detected a Block Above. |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Detects if there is a Block Above. | |desc=Detects if there is a Block Above. | ||
Revision as of 13:46, 30 November 2012
| Detects if there is a Block Above. | |
| Syntax | turtle.detectUp() |
| Returns | boolean If turtle has Detected a Block Above. |
| Part of | ComputerCraft |
| API | turtle |
Examples
| Detects if there is a Block Above. | |
| Code |
turtle.detectUp() |