How to rotate an actor between 2 public variables?

Of course you can use your public variable value instead of hard-coding 90 degrees in. That’s the whole point of doing it this way.