How to do hurtboxes during animation transitions, like idle->jump or run -> jump

Sorry, clarified, 2.5D