Melee attack. need help

when my character hits to the right, then everything is fine, but to the left, an object is created in the middle

used the guide How To Add Melee Beat'em Up Combat To Your Game - GDevelop - YouTube

Is the detection object created away from the character? Is it created every time the character hits? Is there any other event that creates the detection objects other than that?