Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Class'Comp' has no property or method name 'FrameDuration' expression disabled

New Here ,
Jan 16, 2022 Jan 16, 2022

Class'Comp' has no property or method name
'FrameDuration'
expression disabled

error occurred at line 14.
Comp:'main Comp'
layer:1('placeholder1')
Property:"Position'

how can i fix this!!!

plese help

 

I wrote this code

n = 0;
if (numKeys > 0){
n = nearestKey(time).index;
if (key(n).time > time){
n--;
}
}
if (n == 0){
t = 0;
}else{
t = time - key (n).time -time;
}
if (n > 0 && t < 1){
v = velocityAtTime(key(n).time - thisComp.frameDurarion/10);
amp = .60;
freq = 3;
decay = 5.0;
value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.ext(decay*t);
}else{
value;
}

TOPICS
Error or problem , Expressions , Scripting
152
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 16, 2022 Jan 16, 2022
LATEST

your code has a typo (thisComp.frameDurarion instead of thisComp.frameDuration)

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines