Instantiating animation with a spawning prefab

I am having trouble with the position of my animation. In my game enemy ships spawn randomly. when they collide with a bullet, I want my explosion animation to play. But the problem is, I can not figure out the position of it. Animation should start on the enemy ship’s random position. How can I do this. Here is my code.

In the ExplosionAnim(), transform the position of the created gameobject “Explosion” which is holding your instantiated gameobject:

Explosion.transform.position = transform.position;