I'm trying to make 2 layers show different images split down the middle by masks, but I can't quite get it right. I've tried the flashlight subtract using a white object method, which works until I separate the layers. Since I'm trying to split images using a distorted active, I think I'd need them on separate layers but I'm not sure.

How can I go about it where one layer shows an image on the left side of the screen from layer one, and then layer two shown on the right while split using a mask? Attached is what I was working with.

The best example I can think of this video at 7:01 except revealing images on the left and right separately, split down the middle.
https://www.youtube.com/watch?v=xYTZMQedK7U

Thanks in advance!

Rift Example.mfa