InputAxis doesn't work

I have created an event ‘InputAxis MoveRight’. MoveRight was created in ProjectSettings->Input->Axis Mappings. How can I fix it?

Is your player character able to register any other input events? If not, make sure that you’ve set your player blueprint as the “Default Pawn Class” in your Game Mode.