restrict the cable

Sorry for my bad english. if you answer me, can you use simple english? The question is that.
I want to make a 2d game and i use cable component. But cable moves on the y axis. Can i prevent this?