Oh, yeah, to set the marker you have to have the layer selected when you hit *.
Pop ups.
1) Dan has a Jack-In-the-Box, here:
https://www.motionscript.com/expressions-lab-ae65/jack-in-the-box.html
2) If you want text (or whatever) to appear from nowhere with a little bounce at the end, try this:
First set a keyframe (stopwatch) for Scale to zero, then go down 3 frames (Page Down three times) and set the Scale to 100%. Also hit that * key to set a marker, then add this expression to the Scale property:
n = 0;
if (marker.numKeys > 0){
n = marker.nearestKey(time).index;
if (marker.key(n).time > time){
n–;
}
}
if (n == 0){
value;
}else{
max_dev=40; // max deviation in pixels
spd=35; //speed of oscillation
decay=5; //how fast it slows down
t = time – marker.key(n).time;
s = max_dev*Math.sin(spd*(t))/Math.exp(decay*t);
value + [s,s];
}
The marker you set will trigger a bounce after it hits 100% (keyframed). Change the max_dev, spd, and decay to taste.
This is a combo of two Dan expressions.
3) Dan also has a Squash and Stretch that might be what you want, here:
https://www.motionscript.com/expressions-lab-ae65/squash-and-stretch.html