How to add aim-down-sights sway

Currently my aim-down-sights doesn’t add any movement, so providing the player’s mouse is still, there is little challenge to getting a precise aim.

I’d like to add a subtle sway to the aim, so the player has to time their shots correctly.

To clarify, it is the actual aim rotation i want to add this movement to, not to the weapon/arms position.

Can anyone speak to a good way of achieving this?

Thanks in advance.

I think you would have to store the player’s actual look direction, then switch your camera mode from looking exactly where the player is pointed to looking at where the player is pointed plus some kind of error vector, and set the weapon’s aim to the camera aim.