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

height of a mask

Community Beginner ,
Oct 28, 2019 Oct 28, 2019

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'

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

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?

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

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