Solar2D How can i make a trails?

Hello, I want to make a heartbeat EKG monitor and I want to do it with a rectangle and its trace. How can I make a trail? Unfortunately, there is no longer access to the old posts from the Corona SDK forum

The old posts were migrated to the new forums. You can use the search function to look for them. If you know the precise name of the old topic, it’ll be easy to find.

The easiest way to create a trace is to create a runtime listener that tracks the desired object’s x/y position every frame and creates a display object in the previous location. Then simply fade out the newly created display object.