turtle.detectUp

From ComputerCraft Wiki
Revision as of 13:52, 4 December 2012 by Thesbros (Talk | contribs) (Undo revision 4608 by 184.171.168.202 (talk) Who's face?)

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()