pawn keeps turning non-stop

Hi, im still trying to make a drone game and i got to the part where i needed to do the ‘yaw’ for the drone to turn sideways, i want the drone to turn only when the key is pressed, and stop when released, but for now it just keeps turning and doesnt stop, do you have any suggestions? thanks!

Hey @PiletonchickF how are you?.

Try using AddControllerYawInput and setting bUseControllerRotationYaw to true on your Pawn.

that worked, thanks!))