How create a 3d trail effect?

I am struggling to understand how trail module works.
I were able to create a trail:
bug

But as you can see there is still the “white boxes” on the main module:
bug1

Any attempt to remove those boxes from the main module will also modify the trail module…
I don’t find a way to remove those boxes and use just the trail module.

I manage to hide those white boxes but there is still a bug.
Cocos Creator version 3.4.2
image_2022_05_20T13_47_41_481Z
The trail effect is covered from a background object, whis is 3-4 meters beyond the ball.