Hi,
You'll need to use a string value block, a string compare block, and the quad's visible block. Basically pipe the input with the H or V value into one input of the string compare block, put "H" in the the string value block, then pipe the equal output of the string compare block into the H quad's visible block. You can do the same with "V" by replacing the appropriate blocks/values.
I hope this makes sense.
#XPression