How to consume mouse click on OnClicked event?

I have a player controller which executes an action if the mouse is pressed. And i have an actor with a OnClicked event, which does something if it’s clicked on.
Simple question: If the actor is clicked on, how to i prevent the player controller from executing it’s action?
I want the actor to block the input. The documentation says that actors have a higher priority than the player controller and if the actor consumes the input it will not be send to the player controller. However i can’t find any way to consume the mouse events on the OnClicked event.