Mate to rotate and move back and forth

How would you mate this to get it to go in and out the slot and rotate in the circle I used limit distance to get it to go up to the slot and back out. If there isn't a way how can I mate it just to rotate around the circle and make it stay in the center.

SolidworksSolidworks Add-ins