turtle.detectUp
From ComputerCraft Wiki
Function turtle.detectUp | |
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
Example | |
Detects if there is a Block Above your face. | |
Code |
turtle.detectUp() |