I cant call function from widget blueprint

Just enable it in your actor if you must:

If you structure your game to take advantage of a custom system, it’s probably fine. Or could be even great. By default, the input priority looks like this and consumption is always on:

image

If your input-enabled Actor consumes input:

image

Neither the player controller, LB or Pawn can receive it. And it’s a good thing. It’s also a good thing to have it disabled in actors that don’t need it (99.99% of actors). And keep it all in one place only. Otherwise it’s gonna be messy and a little debugging nightmare.