How to do time warp effect on game like popular tiktok effect

I want to make a line moving up to down or left to right and make moving object real time stable view. While the places where the line has not yet passed will be able to continue to moveable, I want the places where the line crosses to remain still as if it was taken a stabile photo. Like popular videos nows. I try to take screenshot with on tiny line size and load this image on Canvas RawImage but its not work. There is any way to do this.

To recreate this effect, you’d need to look into creating your own texture. You can use RenderTextures to save camera information to a texture to later modify it. You can also edit textures in real time using Texture2D.SetPixels(). With these combined you have enough at your fingertips to be able to recreate the effect.