Difference between revisions of "Redstone.getSides"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
|||
| Line 14: | Line 14: | ||
}} | }} | ||
}} | }} | ||
| + | |||
| + | [[Category:Lua_Core_Functions]] | ||
Revision as of 18:53, 28 November 2012
| No description provided. | |
| Syntax | redstone.getSides() |
| Returns | table list of valid sides |
| Part of | ComputerCraft |
| API | redstone |
Examples
| Prints all valid sides | |
| Code |
for k,v in pairs(redstone.getSides()) do print(v) end |
| Output | A list of all valid sides (top, bottom, left, right, front and back) |