how make pictures follow hero?

how do i make it so that a picture can follow the hero's position on screen?
Create a parallel process event in which you read the hero's screen position into variables and then move the picture to the position stored in those variables.
Hello!

Try this:

friste, create a event in Paralel proces,

Inside tgis event, put the comand "show pciture" and select the picture u want

now, put the comand "loop", and inside this loop, put the comand "wait" and his time to "0"

after the "wait" comand, put 2 comands of "variables, and save the X and Y screen coordinates of the hero in two variables, one for the X coordinates and the other for the Y coordinates.

And for the last comando, put the comand "Move picture" there, select the coordinates by "variables" and select the two previus variables for the X and Y coordinates, and in the "time" put the time u want to last before reaching the heroe, just like in this image should be done 🙂

1613156417714.png



Now its up to you to for the time 🙂

Original thread: https://forums.rpgmakerweb.com/threads/how-make-pictures-follow-hero.132541/