Skip to main content
K
2d ago

Tracking cursor outside canvas on web (JS Runtime).

I'm following this tutorial: https://www.youtube.com/watch?v=hdhmp78jbqs and this repository https://github.com/pedroalpera/rive-followmouse-outside-canvas to create tracking outside of the canvas on web.

For some reason when I use my version of the cat, it no longer wants to track the eyes outside the canvas. It works fine with the rive file supplied in the repository though.

I think it has to do with the node Mouse_Target not existing, but in the video tutorial that's not mentioned.

I don't know where I should add Mouse_Target. Is there a way to view export .rive files or can you point me in the right direction here?

1 reply
8h ago

Here's the .rev you're looking for. I think the Mouse_Target is the just empty group that controls the eyes.

catfollowmouse.rev
19 KB