Enhanced input must be correctly set up in the project settings- inputs
Once this is done You , have to To create some assets fot the key mapping
Its a box system… you create a input action , and place it inside a mapping context.
and mapping context are added to the “Enhanced input local Player Subsystem”
you need to to this via blueprint i think
And then you are free to use Enhanced input action