Chance backgroundcolor

Hello guys,

I am new to Unity, so this is a veeeeery simple question. Alright:
I’m creating a 2d game, and I need the player to pick up collect an object and make the background change color. I assume it should work something like this:
In the items OnTriggerEnter2d-event it has to set the cameras background color, but how to i access this from the items script?

Thanks in advance and sorry for this noob question!:slight_smile:

Here is an example of how to change the background color to blue:

Camera.main.backgroundColor = Color.blue;