SK = thisComp.layer("Soundkeys").effect("Sound Keys")("Output 1").valueAtTime(time+0.1); xPos = value[0] ; yPos = value[1] ; frame = Math.round(time / thisComp.frameDuration); while (frame >= 0){ t = frame * thisComp.frameDuration; if (SK > 80){ xPos = xPos+20; }else { xPos = xPos; } frame-- } [xPos, yPos]