Framer. Tracking the pointer using the character's eyes
I'm trying to make the Rive character's eyes track the cursor across the Viewport in Framer. I tried setting up eye tracking using this tutorial.
And in Rive everything works fine, but in Framer the cursor tracking only works on the frame of the animation itself, but outside of it it doesn't work. I.e. Rive's own Listeners don't work across the entire viewport area in Framer.
I tried embedding another animation in Framer. This animation has pupils bound to X and Y inputs. I am trying to set up listeners through code using Chat GPT.
In this case, there is another problem. After much torture, I realised that the problem is that the only way to import the Rive file into Framer via the Rive plugin. And it stores the file in the cloud, and the code doesn’t have access there. I was getting an error in the console that the artboard could not be found.
Who knows a way to set up and import the Rive file so that my eyes follow the cursor in Framer throughout the whole viewport?
I work on desktop apps Rive and Framer.