How to rotate a sprite only within a range

My character’s sprite angle is controlled by orientation sensor, but I dont want it to completely face left when the device is tilted left, I want it to not go further than like a 30 degree angle. How can I do this? I’d really appreciate your help

You can use the action “Rotate toward angle” or rotate only if angle <= 30 condition.

Yes thank you!! I figured out a couple hours after I posted this, I’m so dumb🤦‍♂️