I can't figure out why I'm getting the error... Any ideas?! I tried adding "var" at the beginning of the first line, but that didn't work. Not sure what to try now! Help anyone?
Below is my code. The error reads: "object of type Layer found where a number, array or property is needed."
timeOffset=thisComp.layer("Mograph Control").effect("timeOffset(frames)")("Slider")/24; myIndex=thisComp.layer("DotMaster")-index; seedRandom=(index, timeless=false); randomTimeAmount=thisComp.layer("Mograph Control").effect("randomTime(frames)")("Slider")/24; randomActualAmount=random(-randomTimeAmount, randomTimeAmount); baseTime+(myIndex*timeOffset)+randomActualAmount;