make material with two parameters: x position, y position.
add panner there, hook those position parameters to it
create material instance out of first material
Watch some tutorial about dynamic material instances.
get either animation or blueprints to modify parameters for panner (in dynamic material instance)