Launch Sprite Animation at location of OnTriggerEnter2D event?

Question again… lol

Example of problem:

My Player Punches, Hits enemy, and the sprite animation of “punch explosion” happens.

On that “OnTriggerEnter2D” event how would I write it to launch a specific sprite animation at that location and not follow player or enemy??

I’ve been cheating by having my “effects” parented in the player with one empty frame on idle until event (most likely not the best way to do this, but it works)

I have have been trying everything, but cant get the solution right. :face_with_spiral_eyes:

Instantiate the animation prefab as soon as OnTriggerEnter2D fires at the position where your enemy is. Also you can add some offsets in order to make it appear at the place where hit happens.

@cbothra Thanks! Instantiate was phrase ive been missing! I’m gonna have to work on it a little, thanks for the help