Can't rotate a bp actor with a slider

Hi, I have a cube(static mesh inside a bp actor) and i have a widget where some buttons change the material of the cube and there is a slider which should make the object rotate. I have it like this but i dont know why it doesnt work.

Does anyone how i can make the slider rotate the bp actor(cube)???

I’m new to unreal and it’s difficult for me to understans:( thanks!!!

I see and how can i do it?? Cause i have attached a variable which is the cube bp to the target but it appears the root component… thanks a lot!!