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

Expression dont work

Community Beginner ,
May 08, 2020 May 08, 2020

Where is the porblem with this expression:

Bildschirmfoto 2020-05-08 um 09.28.43.png

THANKS for Answers!!!

TOPICS
Expressions , Scripting
684
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

correct answers 1 Correct answer

Advocate , May 08, 2020 May 08, 2020
var x = thisComp.layer("Kamera 1").transform.position.value[0];
var y = thisComp.layer("Kamera 1").transform.position.value[1];
var z = thisComp.layer("Kamera 1").transform.position.value[2] - 800;

[x, y, z];

 

or simply

thisComp.layer("Kamera 1").transform.position.value - [0, 0, 800];

 

Translate
Advocate ,
May 08, 2020 May 08, 2020
var x = thisComp.layer("Kamera 1").transform.position.value[0];
var y = thisComp.layer("Kamera 1").transform.position.value[1];
var z = thisComp.layer("Kamera 1").transform.position.value[2] - 800;

[x, y, z];

 

or simply

thisComp.layer("Kamera 1").transform.position.value - [0, 0, 800];

 

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 08, 2020 May 08, 2020
LATEST

YOU ARE A LEGEND!!!

 

THANK YOU!!!!!!!!!

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