Blueprint to only fire at a bot when mouse is over it.

Hey all.

I am currently trying to set up my weapon to only fire when I have my mouse over a bot.

I followed this tut but the character constantly shoots when you mouse click to move. I have a feeling its Get Hit Result under cursor for object and I attach my bot blueprint as the target?

I am pretty new to blue print but have spent almost this entire day working on AI following another tutorial.

any help would be greatly appreciated.

Thanks for reading.

anything in game is a object, so your condition should have either a check for tags of that object(if you tag it during construction or begin play), or see if it implement a interface that can return if itself is a bot(destructible) or not.