How to disable all user input besides mouse click?

How might I disable all the users input like movement but still keep mouse click functionality? Id prefer not to have to add a branch before every keyboard key.

Sorry, I mean I dont want to permanently disable the input, I just want it so when my player dies they arent able to move around, jump or shoot.

Mouse is on seperate controls. If using a template you can just goto the player BP and look for the movement note, all those nodes in there govenr movement so just disconnect the key press string and then it’s disabled