How to play animation on player camera?

I’m trying to get my player’s camera to play some animations triggered when certain in game events occur. For example I’d like to have a recoil effect on the camera when the player fires. However I’ve not found a way to do this that seems to fit my needs. I’m trying to get a Template Sequence to be played by a Template Sequence Player within my Character class, but I don’t know if this is the best practice for this or if there’s a better way to do this since it seems that Sequences are meant for more “cinematic” style movements. Any advice would be appreciated.

Try the Camera Shake BP! It’s super handy for this. You define a noise range for the camera’s rotation on all axis, the frequency, and intensity! There are good videos for this. For a gun firing, you could have it go off for a split second and taper off.

Beware to select the right Camera Shake BP type, i think there are some outdated ones still in Unreal if you are using a newer version than in the video.