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

Expression dont work

Community Beginner ,
May 08, 2020 May 08, 2020

Copy link to clipboard

Copied

Where is the porblem with this expression:

Bildschirmfoto 2020-05-08 um 09.28.43.png

THANKS for Answers!!!

TOPICS
Expressions , Scripting

Views

551

Translate

Translate

Report

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];

 

Votes

Translate

Translate
Advocate ,
May 08, 2020 May 08, 2020

Copy link to clipboard

Copied

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];

 

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

YOU ARE A LEGEND!!!

 

THANK YOU!!!!!!!!!

Votes

Translate

Translate

Report

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