Thank you. As far as the color scheme would go I would want the color to be as follows:
At a value of 90 degrees red
At a value of 180 degrees blue
At a value of 270 degrees green
At a value of 360 degrees yellow
I want to the process to start over again after the rotation is greater than 360 degrees, if possible. I can get the the expression to work until it goes past 360 degrees then it stays yellow.
There are two expressions below. One is a slider that and the other is for the color.
Probably something I am overlooking is simple. Thank you again for your response.
For the slider control:
r = transform.rotation
if (r<0) r*-1
else r
This expression will be used to return a positive value even though the rotation is not. This expression will be to create the next expression.
Color expression:
Math.floor(transform.rotation/90)
r = effect("Slider 1")("Slider");
if (r>90 && r<180) [255,0,0,1]
else if (r>180 && r<270) [0,255,0,1]
else if (r>270 && r<360) [0,0,255,1]
else [255,255,0,1]