Is it possible to receive input for a non pawn class?

Hello everyone!
I’m a begginner to Unreal Engine and I seen everywhere that pawn can receive input, but I want to receive input from any classes and I wonder if it’s possible.

You can enable input for most blueprints:

Thanks for the answer! But is there a way to do this in C++?

Try looking for EnableInput.

Thanks for the help now I know how to receive input!
So the problem is solved!
see ya and thanks!