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

height of a mask

Community Beginner ,
Oct 28, 2019 Oct 28, 2019

Copy link to clipboard

Copied

Hi

 

How do i get the height of a mask ? I've tried:

mask.height

mask.nominalBounds.height

mask_1.height

mask_1.nominalBounds.height

Both on shape, and movieclip, but all of them returns undefined propierty 'height'

Views

167

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
LEGEND ,
Oct 28, 2019 Oct 28, 2019

Copy link to clipboard

Copied

As far as I'm aware, you don't. Mask shapes are generated when you publish, and are only intended for internal use by the render engine.

 

What problem are you attempting to solve by getting the mask height?

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 ,
Oct 29, 2019 Oct 29, 2019

Copy link to clipboard

Copied

LATEST

Thank You.

I was trying to auto position elements on stage. I have a scrolling clip and im animating it using gsap. Just wanted to have universal line to position the clip end Y or X based of size of clip and mask. When clip reaches the end point, next animation is trigered.

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