How do you make an overlay increase then decrease in size, infinite times, in the same spot?

I tried that but it won’t stay in the same spot, it moves to the right than back to the same spot for some reason.