0
Engaged
,
/t5/animate-discussions/html5-canvas-move-mask-using-javascript/td-p/12846361
Mar 30, 2022
Mar 30, 2022
Copy link to clipboard
Copied
I have two promitive oval shapes on a mask layer, 'mask_idn'. How can I move that mask layer, or the shapes on that layer, using JavaScript? I can't seem to assign instance name to the shapes...
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
1 Correct answer
Engaged
,
Mar 30, 2022
Mar 30, 2022
Got it working with:
mask.x -= 1;
Which is the variable for the mask in the JS file.
Engaged
,
LATEST
/t5/animate-discussions/html5-canvas-move-mask-using-javascript/m-p/12846372#M352949
Mar 30, 2022
Mar 30, 2022
Copy link to clipboard
Copied
Got it working with:
mask.x -= 1;
Which is the variable for the mask in the JS file.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

