redstone.getSides
From ComputerCraft Wiki
Revision as of 03:59, 26 February 2012 by Immibis (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=redstone.getSides |args= |returns=table list of valid sides |api=redstone |examples= {{Example |desc=Prints all valid sides |code=for k,v in...")
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 ipairs(redstone.getSides()) do print(v) end |
Output | A list of all valid sides (top, bottom, left, right, front and back) |