Difference between revisions of "Turtle.detectUp"
From ComputerCraft Wiki
(Corrected spelling.) |
(Undo revision 4608 by 184.171.168.202 (talk) Who's face?) |
||
| Line 9: | Line 9: | ||
|examples= | |examples= | ||
{{Example | {{Example | ||
| − | |desc=Detects if there is a Block Above | + | |desc=Detects if there is a Block Above. |
|code=turtle.detectUp() | |code=turtle.detectUp() | ||
}} | }} | ||
Revision as of 13:52, 4 December 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() |