turtle.down

From ComputerCraft Wiki
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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox