Glowing lights travel from one end of face to other end?

Using moving gradients, how do I get glowing lights to travel on the faces and edges of the mesh from one end to the other?

Like in this video, from 0:00-0:02.


2)

3)

As per the screenshots, how do I get glowing effect to travel across the selected faces and edges of a mesh from one point to another? Thanks.

How I tried:

While a good blender answer covered this topic regarding moving gradients, how to do this in Unreal Engine 5? Especially changing gradient color and direction of gradient flow.