How to make a game like Blek??

I want a game like Blek can anyone help me how to make a replica of that game
I already searched over the internet but it couldn’t help me
i a beginner in this Game development thing and I want this kind of Game for my College project can anyone help me with that i just want to know how the mechanism works i mean i used Trail Renderer and using rigidbody2d.velocity , i am able to move the trail in horizontal line but i want to move it like blek game and i am unable to get the logic what kind of code should i used to get the game play like blek
Please help me thank you.

Show what code you created and what code you tried to make it move like blek. Have you tried to get the mouse position and its direction? Once you got the mouse position and its direction you need to draw the trail following the mouse position and direction. You could record the position into an array of vector2’s then draw them programmatically using code afterwards. Hope this helps