How would i do this?

the input is in sidescroller blueprint and the widget is in the gamespeak blueprint