It’s a bit complicated… That’s why I suggested you the previous code, but It didn’t worked so…
Start reading this documentation, it’s perfect for your instance: Animating Characters and Objects in Unreal Engine | Unreal Engine 5.1 Documentation
Scroll down to the Float Material Parameter Matinee section and read it, the only difference is that they change color while you need to change the time parameter in your panner