Slider Mate Error

I am building a 4 cylinder engine but i have this problem, when i try to connect the top of the piston to the guide sketch i made using slider mate the piston moves up and out of place making the piston not spin on the axis. It worked before but i accidently deleted that and now when I'm trying to redo it it wont work. i need the piston to only move up and down.

image.png

Answers