The controllable polarity switch between positive photoconductance (PPC) and negative photoconductance (NPC) in a photodetector is essential for the realization of versatile, innovative applications. Incorporating polarity-switching photoconductance with other response states, yet still posing challenges, allows for encoding multidimensional distinguishable optical information within a single device, which holds great potential for broadening application scope. Herein, three wavelength-controlled photoresponse modes are present in MoS