turtle.detect
From ComputerCraft Wiki
Function turtle.detect | |
Detects if there is a Block in front. | |
Syntax | turtle.detect() |
Returns | boolean If turtle has Detected a Block in front. |
Part of | ComputerCraft |
API | turtle |
Examples
Example | |
Detects if there is a Block in front. | |
Code |
turtle.detect() |