Rotating Camera

im trying to make a camera that rotates around a table. Ive managed to get it to work in steps by following tutorials. The problem is
i dont want it to move one step at a time each time button is pressed. I want it to keep rotating smoothly while the button is being held down.
Ive tried adding while loops that keep updating the rotation while the button is pressed but that crashes the simulation.
Anyone know how i can do this?
Thanks in advance.

Use the Event Tick to rotate the camera if the key is being pressed. You will need to use Delta Seconds(time passed in seconds from the last tick event) to setup how many times per second you want Rotate to be called.

Thank you!!! Got it working