Controlling Animation

Hello fellow developers. I am once again in need of your help. I have a hand rig with grab animation. I want to map it to trigger axis such that it only closes fist as much as the trigger is pressed. I have been searching for a bit but cant find anything. In the end that might be because I am bad with searching. Hopefully, as usual, I will find help here. Thanks in advance.