(Feature request)Call an input key in C++ or Blueprint

I would need exactly that code but thank you for teaching me how to call it on the blueprint.