turtle.down

From ComputerCraft Wiki
Revision as of 23:12, 26 April 2015 by MisterSanderson (Talk | contribs) (Adding "see also".)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function turtle.down
Attempts to move the turtle downwards.
Syntax turtle.down()
Returns boolean whether the turtle succeeded in moving downwards.
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Moves the turtle downwards
Code
print(turtle.down())
Output true if the turtle could move downwards, false if there was something in the way


See also