turtle.detectUp
From ComputerCraft Wiki
Revision as of 21:09, 15 March 2012 by SgtBurned (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=turtle.detectUp |args= |api=turtle |returns=boolean If turtle has Detected a Block Above. |addon=ComputerCraft |desc=Detects if there is a B...")
| 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 |
print(turtle.detectUp()) |