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

Expression apply on Y value only

New Here ,
Dec 30, 2017 Dec 30, 2017

Copy link to clipboard

Copied

xz.jpg

I have added an expression to a puppet pin so that this pin is parented with a Null. But is there a way to only parent the Y value with the Null?

I'm very bad with expressions so I don't know how to explain, but let's say..

Both X and Y values are red now, meaning they're both animated. But I want the X value to be locked, so that it won't be animated.

TOPICS
Expressions

Views

1.0K

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
Participant ,
Jan 04, 2018 Jan 04, 2018

Copy link to clipboard

Copied

LATEST

[transform.position[0],fromComp(nullpos)[1]]

this should do it

use this in your last line insted of fromComp(nullpos)

Henrique \\ TMMW
Clips Exporter | Text Replacer | Selector for Premiere Pro | Thumbs Up

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