Use AnimNotify to Create Event in Ability
You can also embed an AnimNotify in something like Animation Montage, and read it in Ability, let's say when you want to apply some damage, while the animation is actually punch the target, not at the beginning of the animation.
We've already create a custom AnimNotify with GameplayTags that you can used for ability. You can find it on Content/AgateGAS/Blueprint/Animation/AN_AGASGameplayEvent.
- You have to create or provide a montage to be used, you can find it on AgateGASExample if you don't have any, but AnimNotify is already embeded there. I recommend you to use a new one to understand the process.
- Right click on the Notifies part, and add AN_AGASGameplayEvent there (to the specific time, where the damage is applied).