turtle.down

From ComputerCraft Wiki
Revision as of 05:10, 13 March 2012 by Uncreative Name (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=turtle.down |args= |api=turtle |returns=boolean whether the turtle succeeded in moving downwards. |addon=ComputerCraft |desc=Attempts to mov...")

(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