Moving material with panner

So I currently have a material setup with a panner to help it move along the Y coordinate. The problem is that I cannot figure out how to get the proper effect I want. So basically I want for the material to move from one end of the object to another in a pattern. I will try to explain lol

Ex: lets say you have a long cylinder in the scene. I want the cylinder to start off with a black material, then from left to right or right to left, another material moves across. eventually returning back to the black material. So kind of like moving light.

I attached a screenshot of the code i have right now. Ignore the nodes that are not attached

Here’s how mine works to make a grid texture pan in one direction across a plane.

That sidepan part is not necessary, it’s just hooked up to a BP timeline to make the crosswise direction swoosh when the player navigates to the next menu.

looks like you’re probably doing it right. Maybe the cylinder UVs are not good for panning or don’t fit the texture image?

Thanks for the reply and screenshot. Even after trying that solution I have the same result. I think like you said, I will have to not use a cylinder or try to use a different alpha texture. Only reason I chose a cylinder is because I want the effect of moving light almost like a beam.

What kind of cylinder is it? Maybe the UVs are just scaled too big or too small.Try testing it on other shapes to see what’s going on.

This is really all just a prototype. So I just dragged in a basic cylinder and scaled the z axis to 20, just to make it long. Then took the material I coded and applied it to it. It honestly could be the texture. I just grabbed any texture from the starter content, just to see if I could get it to work.