help me pleace ,help Pleace

my english is not very good so I am with a translator.

In the next picture I show my question or error.

I have these two images (Triangle and the flame) and both I have them with a scrip that controls them to move and leave a trace the problem is that as they see in the triangle this trace leaves the center and the flame does not and it is not that in the scrip the trace leaves the current position of the object I supposed that in the center of the object but I do not know why it does not work for this case and thus enlarges the flame the trace keeps coming out of the right side attached images of the scrip

I leave part one of the code in the following link :Screenshot by Lightshot

thank you so much for help me
or for taking the time to read :smiley:

Have you looked at where the centre of the flame object is? Could well be that it’s just an issue of it not being centred to fix it just create an empty game object and drag the flame under it and then put the script onto the empty game object instead of the flame sprite