You can add a Panner Material Expression to the Material Graph by searching for Panner in the Palette or right-click context menu. You can also hold down the P key and left-click anywhere in the Material Graph to insert a Panner at the mouse pointer. The Panner Material Expression takes two inputs — Coordinates and Time.