Commercial Fixed Wing
Flight Crew Air Transport Pilot (ATP)
Training / Qualification; Situational Awareness; Distraction
Deviation - Track / Heading All Types; Deviation / Discrepancy - Procedural Clearance
Air Traffic Control Issued New Clearance; Flight Crew Returned To Clearance
Environment - Non Weather Related; Human Factors
While on a heading of 150 to intercept final; at 2;300 feet and inside of ZZZZZ. We were cleared for the visual for XXC. We were using the ILS/LOC XXC as back up. My intent was to stay in NAV mode; white needles to intercept and then hand fly the remainder of the approach. As we approached the final course; the white needles were not moving as I expected and while 'heads down' to confirm that the automation was set correctly the Captain said to turn. I looked up and realized we flew through the final course. I believe I turned off the autopilot; but hesitated in turning because I was unfamiliar with the airport. The Captain took control and corrected; ATC advised us of the course deviation; I replied that we were correcting. Once the Captain got us re-established on final he gave me control back; we were above 1;000 feet AGL; and we landed uneventfully.Scan breakdown; my failure to look outside when distracted by the automation. This was also my first time flying into ZZZ so when I looked up; it took a few seconds to orient myself. On our debrief; both the Captain and I realized neither one of us sequenced the FMS when ATC started to vector us for the approach. This caused the issue with the white needles not moving. This trip was to maintain landing currency; I have not flown since the early April. I was also ZZZ1 based [flying] the Aircraft Y type. This trip was on the Aircraft X type; which I have not flown in a while.Basic airmanship: Aviate; Navigate; Communicate. Good scan discipline. Follow SOP in regards to the automation. Anticipate problems when flying into unfamiliar airports.
Air carrier First Officer reported experiencing a course deviation and stated being away from flying was a contributing factor.