Placing a picture on an event and fixating it there

I want to place a torch in a dungeon and place a lighteffect around it by allocating a picture to the event.
Here is the eventpage (sorry for german):

550chhB.png


First 2 lines: Creating 2 variables, giving them the X and Y coordinate of the event (torch).
3rd line: Placing a picture at its coordinates. But ingame the light is not at the torch (and it moves with the screen):

JRSvm2X.png


What did I do wrong?
The X and Y coordinates are map coordinates. However, Show picture uses screen coordinates. So you need to capture the Screen X and Screen Y of the torch instead of X and Y of the torch. Then it will work.
Pictures follow the camera by default. If you want the pictures to where you want them wherever you are on the map, you need a script like this one: Bind Pictures to Map. However, this plug-in was map a couple of years ago, and MV has been updated many times, so I'm not sure if it still works well with the current version.

Hope this helps.
Have you considered using this?

https://forums.rpgmakerweb.com/index.php?threads/terrax-lighting-system.49339/
I tried Porygs solution first and it works. Thank you very much.

I will look at the plugin as well and see if it has some nice features, although I would rather go with a non-plugin solution.

Thanks again everyone.

Original thread: https://forums.rpgmakerweb.com/threads/placing-a-picture-on-an-event-and-fixating-it-there.83021/