# Check if player is touching or inside of sphere during attack bool

**URL:** <https://forums.unrealengine.com/t/check-if-player-is-touching-or-inside-of-sphere-during-attack-bool/463317>\
**Category:** Character & Animation\
**Tags:** overlapping, unreal-engine, UE4, question\
**Created:** [April 4, 2020, 5:42pm UTC](https://forums.unrealengine.com/t/check-if-player-is-touching-or-inside-of-sphere-during-attack-bool/463317 "2020-04-04T17:42:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didgeridrew5](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/didgeridrew5/32/1176749_2.png) [@Didgeridrew5](https://forums.unrealengine.com/u/Didgeridrew5)\
**Post date:** [April 4, 2020, 5:42pm UTC](https://forums.unrealengine.com/t/check-if-player-is-touching-or-inside-of-sphere-during-attack-bool/463317/1 "2020-04-04T17:42:05Z")

</div>

Hello. I’m having a hard time with enemies landing hits and damaging the player. I have a “Is Biting?” Bool that turns off and on with Animation Notifies. However In the actual game I have to try very hard to actually get hit and take damage during the animation. I can get it to work but I have to spinning around in front of the lion while its attacking animation montage plays. I’m assuming it’s because I need to actual collide with the lions attack range sphere at the exact moment the bool changes. If I can get this concept down, it’ll help me with many other parts of my game!!

I would like to be able to stay completely still, have the lion reach me, do the attack animation and deal damage if I am within the attack range. On Event Begin Overlap doesn’t seem to do it. As long as the player is within the lion’s attack radius I would like the attack animation to be looping. How exactly do I achieve that looping as well?  
This Blueprint is a little messy, sorry about that.

 ![299079-screenshot-32.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/1/cd19aab7556700145fc9895f2a28cae99e0ac1b5.png)

 ![299080-screenshot-33.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/2/b/b2bfe1e276015fed29758f4d5a910d79996266ce.png)
