How to bind an input in different Blueprints?

Hello everyone!

I just started off with the UE4 and I just have some knowledge of web technologies like PHP etc.

I’m using the “Top Down Template” with Blueprints and in my “TopDownController” BP I’m using an InputAction to move my character to the clicked position (left mouse button). That is working out of the box for now. In my “TopDownCharacter” I’m spawning some spells on other keyboard inputs but now I also want to cast a spell when “shift” and “left mouse button” are in the pressed state at the same time (like in Diablo II). I tried to assign a new action to “left mouse click” and checked “shift” in project settings but when playing the game it only recognizes the mouse button click for the movement but not for casting the spell. I guess that one button can only be assigned to one action, correct? How do I access the action correctly when the movement is in another BP than casting the spells and other stuff? Has it something to do with casting and referencing objects or am I misunderstanding some basic logic/concepts?

There is multiple ways to achieve it.

A basic solution:

As above or even simpler:

291442-capture.png