redstone.getSides

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function redstone.getSides
No description provided.
Syntax redstone.getSides()
Returns table of valid sides
Part of ComputerCraft
API redstone

Examples

Grid paper.png  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)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox