If you can call it in you animation BP then I would suggest creating a custom event node in your enimationBP and maybe call it ‘PlanyAnimMontage’. Then in your characterBP then call the function from your animationBP.
Perhaps you could also use a state machine where then you click the left mouse button, it changes a boolean variable to positive for attack which allows your character to enter the transition to play the animation montage.