-
Making Current Speed and Maximum Speed
Hello,
I’m very new to AE Expressions. I have two text layers one is currentSpeed and second one is maxSpeed. currentSpeed is always changing rangin from 0 to 135. I want the maxSpeed to check currentSpeed. If currentSpeed is higher, then change to higher value. Else, stay at it’s current value.
I tested a lot but it doesn’t work.
Can someone help me with this?
Tnx.
max = text.sourceText
crSpeed = thisComp.layer("speed").text.sourceText
if (crSpeed > max) {max = crSpeed}