First time here? Check out the Help page!
answered 2020-10-28 10:05:13 -0600
The Space class has a lights method. So you can do:
space.lights.each do |light| light_def = light.lightsDefinition ... end