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

An expression for keeping a value a certain percent of another?

Explorer ,
Jul 26, 2024 Jul 26, 2024

Copy link to clipboard

Copied

I want to link one size property to another but keep the child property 10% lower than the parent but I can't figure it out?

TOPICS
Expressions , How to

Views

166

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 2 Correct answers

Community Expert , Jul 26, 2024 Jul 26, 2024

It will probably look like this:

content("Rectangle 1").content("Rectangle Path 1").size * 0.9

Votes

Translate

Translate
Explorer , Jul 26, 2024 Jul 26, 2024

I got it to work with this in the end
PercentExpression.PNG

Votes

Translate

Translate
Community Expert ,
Jul 26, 2024 Jul 26, 2024

Copy link to clipboard

Copied

It will probably look like this:

content("Rectangle 1").content("Rectangle Path 1").size * 0.9

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
Explorer ,
Jul 26, 2024 Jul 26, 2024

Copy link to clipboard

Copied

LATEST

I got it to work with this in the end
PercentExpression.PNG

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