Its mechanical. There is a link tied to the regulator that will not let you unlock the tailgate until the window is all the way down. I had to remove the inspection plate on mine and replace the plastic retaining clip that held this link in place. My rear window now has a scratch down the center...