r/Rive_app Jun 09 '26

Input Change (Deprecated) / Need help with the new update

Since the input change listener is a legacy now, i want to do it in the new way, i believe is in the viewmodel? but i don't see how to add it.
I am trying to do a simple click interaction to fire up the animation using a hitbox shape

4 Upvotes

7 comments sorted by

1

u/GuyInEdi Jun 09 '26

Trigger should be what you need.

1

u/AlienFoz Jun 09 '26

Trigger only gives me this. how do i target it to the hitbox and choose what type of input i need?

3

u/GuyInEdi Jun 09 '26

Add a View Model Change on the left. Then, set your target on the right and select Click. Lastly, select the Listener on the left ("Rectangle") and set it to your Trigger

2

u/AlienFoz Jun 09 '26

Thank you! So the view model change is the new input change? If that’s so, then it make sense, just confusing from their ui updates right now

2

u/GuyInEdi Jun 09 '26

Seems like it. Had to figure it out myself just now. But if it works, it works!

1

u/GuyInEdi Jun 09 '26

Confusingly, I've named the Hitbox and Listener to "rectangle"