How can you change the color of the horizon in bge with Python?

like this script

from bge import logic

co = logic.getCurrentController()
o = co.owner
o.color = [o[‘r’], o[‘g’], o[‘b’], o[‘alpha’]]

from bge import render


render.setBackgroundColor([red, green, blue, alpha])

What is happening in your script is you are setting the object color. Incorrectly though.

Thanks for help :smiley: