Difference between revisions of "Redstone.getSides"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
m (Table -> Table (type)) |
||
Line 3: | Line 3: | ||
|name=redstone.getSides | |name=redstone.getSides | ||
|args= | |args= | ||
− | |returns=[[ | + | |returns=[[Table_(type)|Table]] list of valid sides |
|api=redstone | |api=redstone | ||
|examples= | |examples= |
Revision as of 18:45, 30 November 2012
Function redstone.getSides | |
No description provided. | |
Syntax | redstone.getSides() |
Returns | Table list of valid sides |
Part of | ComputerCraft |
API | redstone |
Examples
Example | |
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) |