I’m facing this problem: when I click on an enemy, I want my character to just attack the enemy from the distance and not move it to the clicked location. Currently the character is both attacking the enemy and moving to clicked location.
Clicking the little triangle in the BreakHitResult, will expand it in more info,
Pin out the HitActor, and use “Get class” this will give you the class of the hitten actor, so you can check with a “==” if there is a enemy .
If is an enemy, start attack
if is not an enemy, walk there