Input Help

After not using blueprint in a while and more on c++ i have forgot how to bind one input to do 2 actions i want to setup a button so when it is pressed your character is set to crouching but when the button is held in and not pressed your character will be set to prone and all of this happens with one key not 2 keys how could i do this?