Event Trigger between two canvases

Sorry if I don’t explain this well, it gets confusing.
I have a canvas with two images in it. To make things easier I’ll just call them image1 and image2. image1 has two event triggers. One of them just does CanvasRender.Clear. The other trigger makes image2’s texture change. Both are set so that they’ll activate when the mouse enters image 1. Everything worked fine, until I made a new canvas. I wanted one image to be in the World Space and one in the Screen Space. So image1 is in the world space canvas, image 2 is in the screen space canvas. I didn’t change anything, I just put Image 2 in a new canvas (screen space). But now the event doesn’t work; I put my mouse in image2 and the CanvasRender.Clear works, but the texture change doesn’t.
So, my question is, is there a way to fix this, or is it just the way work Unity works? Do I have to put both images in the same canvas, or is it possible to have them in separate canvases.

should work just fine in separate canvases. Does you world canvas have a Raycaster on it?

It does. I’m going to try playing around with the settings though, to see if I can make it work.

I tried all the settings on the Raycaster, still doesn’t work. If somebody could tell me the exact settings for the Raycaster to make it work, that would be great.