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

SyntaxError: Unexpected identifier

New Here ,
Mar 20, 2021 Mar 20, 2021

 

I am trying to get a graphic to react to the audio in my project but I keep getting this error no matter how closely I follow tutorials. Please help!Capture.PNG

TOPICS
Error or problem , Expressions , How to , User interface or workspaces
3.5K
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
LEGEND ,
Mar 21, 2021 Mar 21, 2021

There is no reason why there should be an extra "transform.scale" after you've declared the variables. This makes no sense. Rather than blindly following tutorials you may want to start by actually reading the online help on expression basics to avoid such unnecessary issues.

 

Mylenium

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
New Here ,
Mar 24, 2021 Mar 24, 2021

Thanks for your help and your unecessary patronization. I'm not trying to have a thorough understanding of After Effects at this stage, just trying to get one quick effect and I'm out. 

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
New Here ,
May 19, 2021 May 19, 2021

I agree.  That is the most condesending answer.  Either answer the question or don't.  Stop making people feel bad for try to learning something.

ALSO, Adobe automatically adds the transform.scale using the pickwip.  So it's not your fault.

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
New Here ,
Feb 08, 2024 Feb 08, 2024

There's a few judgemental people on this forum who constantly like to bash on new After effects users for not knowing something because they themselves do.. It's so stupid

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 Beginner ,
May 22, 2025 May 22, 2025

You are an absolute legend!

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 ,
May 22, 2025 May 22, 2025
LATEST

The Transform.Scale is the dummy text that AE automatically adds to a new scale expression. 

Delete that section, it might fix it.

Whenever you add an expression AE adds some dummy starter text to the property (it has to do this otherwise the expression would immediately be removed the moment you clicked outside of the text field).

By itself that dummy text won't cause an error but if you leave it there while adding your own code it will cause a problem.

 

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