Hello everybody, I come back with more questions!
Thanks to your help I could do something similar to a Flashlight view, but between some bugs that need to be fixed I have one for what I need your help.
Do you see the superior wall call "muro_exterior"? the function "fisica linterna" can't calculate the distance between the flashlight and it.
I think that it is because this sprite is an instace with modificated proportions of the original object, but I'm not sure of that.
src: h t t p s ://mega.co.nz/#!JtQH1IZI!MOSpHb6kCThOf4k4JzArUXIg2MbA9-XxSefZam67Pek