How to control solo elements with Joysticks?

I have a simple cube rotation animation PNG sequence. I was able to set which frame to display by creating a viewmodel property, but I want it to look like it's moving left or right with a joystick. How can I do that?

Ekran Kaydı 2026-05-12 18.12.16.mov