I cant call function from widget blueprint

Input belongs in the Player Controller or Pawn. Input is also consumed so you do not accidently order 20 entities to perform the same action.

If you absolutely must use it in a regular actor:

image

It’s in the class defaults.