After Effect Expression question
After Effect Expression question
- Started
- Last post
- 5 Responses
- CyBrainX
I'm getting an error in the second line asking for a "(".
What gives?rawSliderNumber = thisComp.layer("CONTROL variables").effect("B")("Slider...
if ((result mod 1) != 0) {
(Math.floor(thisComp.layer("CONT... variables").effect("M")("Slider... * 10) / 10 + "0B";
} else {
(Math.floor(thisComp.layer("CONT... variables").effect("M")("Slider... * 10) / 10 + "B";
}Thanks in advance.
- CyBrainX0
Never mind the truncated lines. My error is in the statement with the following line.
if ((result mod 1) != 0) {
Expected: ).
- Ramanisky21
Pffft, newbie :D
- CyBrainX0
I ended up putting one more ) than was mathematically proper and the error went away. I wish I had a better explanation.