How to control a panner texture while playing the game

Cool!. I’ll try and implement this into my game. Thank you!