Difference between revisions of "Turtle.attackUp"
From ComputerCraft Wiki
(Adding "see also".) |
(Add toolSide argument) |
||
Line 2: | Line 2: | ||
|name=turtle.attackUp | |name=turtle.attackUp | ||
|api=turtle | |api=turtle | ||
+ | |args=[<nowiki/>{{type|string}} toolSide] | ||
|returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking upwards | |returns=[[boolean_(type)|boolean]] whether the turtle succeeded in attacking upwards | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Latest revision as of 10:34, 24 October 2018
Function turtle.attackUp | |
Attempts to attack above the turtle. | |
Syntax | turtle.attackUp([string toolSide]) |
Returns | boolean whether the turtle succeeded in attacking upwards |
Part of | ComputerCraft |
API | turtle |