Precomposing worked but I ran into a few more problems;
The glow effect requires a black solid. If I put a black solid to the pre composition, it will fill the screen and hide everything on the first composition.
How do I keep the glow effect without hiding everything behind the black solid?
EDIT:
A third problem;
I have this moving line animation (the line is about 5 cm long), I want the line to start appearing from the middle of the screen and end before the end of the screen without the line going over the edge.
Basicly the line would appear in spot A as a dot and then started to grow in length until all 5 cm is visible.
When the “nose” of the line hits the B spot (end) it wouldn’t go over it but start to shorten in length until it disappears.