Does anyone know a proper way to do this:
The objects angle is 0.
When right key is held
---> rotate angle of object counterclockwise by 3
If angle of object is 306
---> then set angle 306
When right key is not held
---> rotate angle of object clockwise by 3
If angle of object is 360
---> then set angle to 360
Basically I want a turret that rotates to a specific angle when the right key is held and then lock to that angle, and if the right key is not held, then slowly go back to starting position by rotating to the opposite direction, then lock at that specific angle.
Anyone know how I can do this in Construct 2? Any help is appreciated