Dynamic Gripper TCP

Hello

in case we have a Dynamic Gripper which the TCP moving according to the joint offset ,how we can fix the TCP in its position moving related to the joint movement

thanks a lot