C.transform = turn(C.transform,10)
So I'm trying to find a way to find the value for this particular object.
Each time this is run, it applies a 10 degree rotation on the subject. Is there then a way I can go about returning the value the subject has been rotated by?
If, for example, this was applied 5 times, is there a way to return that 50 value without creating a separate var to track the number of times this transform has been applied?
However, it's probably not necessary to get the angle. Depending on how you intend to use the angle, you may not need the angle at all. For instance, if you wanted to rotate something else by the same amount, you could just set their transform to this same transform.