hi, i am new to godot and i need some help.
the game is a 2d side scroller game.
my character carries a torch the map is dark by a canvas modular node and in the map there is an item that i can pick up when i collide with. i want when this item gets picked up the energy parameter of the light2d on the torch to increase and show more of the map.
thanks in advance for help.