[Help] Stickman Control with Joystick/Buttons

So I am making a game where you control the stickman by grabbing and releasing with his arms and legs. I know there is a game like it… But I was wondering how I could program each hand to a button, on hold it grabs and on release it lets go. Additionally, when holding the button, you control where that limb goes with a joystick. Any help is appreciated. I am not looking for a handout, just help getting there, but if you have reference code I’d love to see it <3

Still looking for some help. Thanks!