inputing hitting force

Hi there good people. I’m a noob that comes to BP scripting but I would like to learn how to, for example, when user presses a key or a mouse button for some period of time sets a hitting force. Is that possible to set and how or is there a documentation on this subject.