How to make an Platformer Camera?

Hi, i’m trying to make a camera for a platformer, but i need the camera to kinda “lead the way” when the character walks. The character needs to be on the left of the screen when he walks right and vice versa (like old donkey kong country games), but i’m kinda lost on it, the camera is attached to a camera boom that it is attached to character. I don’t know if i do something on the camera itself on the event graph or something on the contruction script, can anybody help? thanks

Does this help?

This extremely helped, thanks!