Get button in other blueprint

Hi, i have problem with button in UI menu.
Goal: If press key “4” spring arm lengh to 5000
(this work ok), if button click, then set spring arm lengh to 5000.
I cannot get button in first person characer blueprint.
I cannot bind button click to key 4.
Please, help me …

Here is a way to do it using an interface :

Create a new Interface Blueprint + ChangeSpringArmLength function


Character BP :


Widget BP :


Do you really need to press the button for event occur?
Because general idea is, make some event -> make a button be able to call this event. In your case, event can be called from a button and from a key, both button and key is a trigger for an action, so do you really need to one trigger call another which call an action?