it shouldbe by the module
the sunroof control module monitors the limit switches and based on the inputs determines the position of the sunroof glass. as a limit switch closes, the 5 volt reference will be shorted to the sunroof limit switch low reference circuit, pulling down the 5 volts refrence to 0.
the sunroof control module understands the position of the sunroof glass based on the different input combinations through the sunroof limit switch soft stop signal and sunroof limit switch open vent signal circuits
pull down the headliner you should see the module and sops