Difference between revisions of "Turtle.digUp"
From ComputerCraft Wiki
(Undo revision 3599 by 91.121.27.33 (talk)) |
m (Moved to CAT:LuaCoreFunctions) |
||
Line 14: | Line 14: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:Lua_Core_Functions]] |
Revision as of 18:53, 28 November 2012
Function turtle.digUp | |
Attempts to dig the block above of the turtle. | |
Syntax | turtle.digUp() |
Returns | boolean whether the turtle succeeded in digging. |
Part of | ComputerCraft |
API | turtle |
Examples
Example | |
Digs the block above the turtle. | |
Code |
print(turtle.digUp()) |
Output | true if the turtle could dig the block, false if it could not or no block present. |