Side Scroller Camera

Try this approach:

Using Sign node will produce -1, 0 or 1 output (even if the axis value is a fraction in either direction). Multiply it by the desired offset amount and use SetRelativeLocation instead of AddRelativeLocation to avoid continually stacking the offset.

Keep in mind this approach will center the camera if the event is producing axis value of 0, to avoid it you can add a simple If node at the beginning and check if the input is 0, if so, do nothing (hence maintain the last set location)