Light system alternative

@BlunT76 A way less convenient than programmatically, but it is a good alternative.

@Telinc1 Indeed, and in my case it is certainly not enough. I need a more realistic light.
With the example i sent it doesn’t look realistic, mainly because there is no shadow.

As you can see, it would totally ignores other objects:
ex

Does anyone have a solution ?

Here is the problem i got with Light2D: