✅ Solved: Input Trigger Not Working

Hi everyone, I’m having trouble using an input trigger with Rive and could use some help.

I created an input trigger in the ViewModel, and I used Gemini to generate a button in the code. I set it up so that when the button is clicked, it should call vmi.trigger('isClick').

But for some reason, nothing happens when I press the button—no response at all.

Just to test, I later changed the input in Rive from a trigger to a boolean and updated the code to work with that instead. Surprisingly, that worked fine.

Has anyone experienced this issue before? Or do you know how to correctly trigger an input trigger through code?

Any suggestions would be greatly appreciated 🙏

index.htmltest.riv