I cant call function from widget blueprint

okay i tested the input in character blueprint and it works why is that so i saw someone elese code that was able to call input actions from actors