Geometry nodes

Hi, I’m trying out Geometry nodes and I need help in creating this effect. I have a mesh that I want to be replaced with anther mesh as I move an empty across it.https://drive.google.com/file/d/1SC7H8l8sRBOFqzz6-HT6bSHyCLJfzPZ-/view?usp=sharing
I’m moving the empty from right to left and the monkey head disappears with this effect. As the empty comes back to it’s initial position , I want the monkey head to be replaced with another mesh with the same “reveal” effect as shown in the video. I’ve tried a few node setups but they don’t give me the desired effect.


This is the node setup I have for reveal effect on the monkey head.

I think this as a bit tricky as you would need the direction which the empty is traveling,

It would be easier if you just moved the empty further to change the geo like this

I set the the vector add node to 2 this number will depend on the size of your object and whether you want it to change quickly or leave a “gap” with no geo.

Here is the file just move the empty on X and keep moving in the same direction.

reveal.blend (122.7 KB)