[SOLVED] Is there a way to avoid this?

Many thanks Mr.Men. The example Slash has sent, wouldn’t be better for what I need. I tried what you told me but I think is not a good idea using a hitbox in this case.