What should I use instead setNumberState in the new Compose version?

Hello, I'm trying to migrate to Rive Jetpack Compose.

In the View-based version, I used the RiveAnimationView.setNumberState method. Could you please tell me what the equivalent is in Compose to update a state machine value? I couldn't find a clear answer in the documentation.

I tried using something like vmi.setNumber inside my ViewModel/Worker, but without success. Any advice?