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

101

Likes

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
Adobe Community Professional ,
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?

Likes

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.

Likes

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