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

Rectangle path expression

Community Beginner ,
Jun 11, 2017 Jun 11, 2017

Hi,

I want the path of Rectangle 2 to copy the path of Rectangle 1, only to be 30px smaller on each axis.

For some reason it's only shortening the path by 30px on the x-axis.

Any ideas how I can get it to shorten on the y-axis as well?

The reason I'm doing it is so I can adjust the size of one rectangle rather than them both.

Thanks,

Ryan

Screen Shot 2017-06-11 at 20.35.39.png

TOPICS
Expressions
1.7K
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

Community Expert , Jun 11, 2017 Jun 11, 2017

Try this:

content("Rectangle 1").content("Rectangle Path 1").size - [30,30]

Dan

Translate
Community Expert ,
Jun 11, 2017 Jun 11, 2017

Try this:

content("Rectangle 1").content("Rectangle Path 1").size - [30,30]

Dan

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 ,
Jun 11, 2017 Jun 11, 2017
LATEST

Perfect, thanks Dan

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