Slider and rotation around axis

Hi. I want to rotate on object around axes Z with a slider like the following example:
Unfortunately object not rotating +180 and -180 degrees from start position. Can someone help me?

Hi, the rotate function adds a rotation, so just pass the difference:

Thank you my friend!

1 Like