HELP!

Hi all,
HOW do you restrict self.rotation between like 90 and -90 degrees?
I'm using a rotate to position behavior..but my actor naturally rotates in a full circle. I want to be able to control how much it rotates..maybe to +45 and -45
HOW do you restrict self.rotation between like 90 and -90 degrees?
I'm using a rotate to position behavior..but my actor naturally rotates in a full circle. I want to be able to control how much it rotates..maybe to +45 and -45