turtle.detectUp

From ComputerCraft Wiki
Revision as of 21:13, 15 March 2012 by SgtBurned (Talk | contribs)

Jump to: navigation, search


Grid Redstone.png  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

Grid paper.png  Example
Detects if there is a Block Above.
Code
turtle.detectUp()