Homemade Valve Spring Compressor.

When you compress the spring, what keeps the valve from going with it? (I'm guessing it's to be used on a head still installed on the motor)
I made mine to use with the heads off, for solid roller springs.
Rope or air. I usued rope for the number one cylinder on this short block build.
I hope the tool clears the intake.