How do i make a boss and its hit box?

I’m trying to make a boss battle with a hit box but i dont know how. Halp.

Look for my boss battle level:
http://www.flowlab.io/game/play/1115645
This is my own type, if you share the link to your game, I can help better

ok here flowlab.io/game/view/1124647