Center the camera behind the player when not touching the stick

Hi ! I’m new to unity and I’m trying to do a camere that centers back to the player when not touching the camera joystick for 5s~. Could you help me with that I can’t seem to figure out what nodes to use ?
Thanks a lot in advance !!

sus, but I’ll roll with it ;p. Depending on how the camera is set up and how the whole thing is supposed to work, it could be as simple as:

Assuming we’re using a camera setup like in the 3rd person template, this would snap the cam behind the char after 2s of inactivity. Add interpolation to make it smooth. It should be an event that fires when controls are fiddled with.