turtle.down
From ComputerCraft Wiki
Revision as of 13:43, 30 November 2012 by AfterLifeLochie (Talk | contribs) (Corrected mapping from "Boolean" to "Boolean (type)")
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
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 |