Creating a Third Person Shooter Aim Offset

Hey Everyone, I wanted help creating a Aim offset like Fortnite. When you Move Your Mouse X every 15 degrees the player will turn with it, I really like this system but I can’t find any ways to replicate it.

Start by looking up “UE4 aim offset” in Google.

already tried that all of them are the same, none of them show me how to replicate fortnite’s aimoffset

I found out when i’m in idle the aim offset doesn’t work but when i’m moving it does