How do I make the master follow the slave in Visual Studio

i need to do a claw and have two motors to make the claw close and open how do i make the claw close and open using the master and slave variable in visual studios

What type of motor controller are you using? Here is the guide for talons and victors: https://phoenix-documentation.readthedocs.io/en/latest/ch13_MC.html?highlight=follower#follower

i am using sparkmax. is there any guide for sparks?

thank you i solved it