How do i change animation by using angle of a rotating sprite

I want to change animation of a rotating sprite at a certain angle( e.g. 100 )degrees .
For some reason animation is not changing

  1. An object’s default angle is 0 degrees. If an object starts rotating at -40 degrees a second, that angle will be going down from 0, and will never reach 100.
  2. It is very likely that the perfect 100 degrees. at best it will be 100 with a trail of decimals following it. Instead, give it a range or a number it must be less than before it changes.

So something like this should kick in once every 360 degrees: