Get active world?

How do I return what World the scene is currently using?[0].world

or if you actually have a valid scene variable.

current_world =

The result of world can be None, for instance if you delete the world from the scene. So remember to check for that.

if != None:
    horizon_color =

Currently using.

Thanks friends!

Could you give me an example of the use for this please.

TheElwolf: what is your question precisely?