turtle.down
From ComputerCraft Wiki
Revision as of 18:56, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:LuaCoreFunctions)
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 |