Difference between revisions of "Turtle.place"

From ComputerCraft Wiki
Jump to: navigation, search
m (Moved to CAT:LuaCoreFunctions)
Line 13: Line 13:
 
}}
 
}}
 
}}
 
}}
 +
 +
[[Category:Lua_Core_Functions]]

Revision as of 18:53, 28 November 2012


Grid Redstone.png  Function turtle.place
Places the selected block in front of the Turtle. Add [signText] to sign if given.
Syntax turtle.place()
Returns boolean whether the turtle succeeded in placing the block. False if selected slot is empty, or if there is already a block in front.
Part of ComputerCraft
API turtle

Examples

Grid paper.png  Example
Places the selected block in front of the Turtle.
Code
turtle.place()