World Z up Dissolve Material??

Hey guys, I’m trying to make a simple dissolve material that uses world coordinates to swipe the dissolve up and down and having some trouble figuring out what nodes to use. The dissolve currently works but it swipes up on local UV scale (you can see the top face of the cylinder is dissolving too) is there a way to make this work with world z ? and if so, how?