# Opacity mask doesn\`t update in sequencer

**URL:** <https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883>\
**Category:** Cinematics & Media\
**Tags:** actor, opacity, unreal-engine, mask, question\
**Created:** [January 23, 2020, 12:36pm UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883 "2020-01-23T12:36:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0f7c6e7d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0f7c6e7d](https://forums.unrealengine.com/u/anonymous_user_0f7c6e7d)\
**Post date:** [January 23, 2020, 12:36pm UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883/1 "2020-01-23T12:36:32Z")

</div>

Hi, everyone!

I have an actor **object(B)** which moves through the **plane(A)**. Plane`s material has opacity mask which updates by movment of **object(B)** and makes transperent it behind the **object(B)**.

It works fine when I`m moving **object(B)** directly in viewport by hand. But when I`m droping it into sequencer and trying to animate by keys opacity mask doesn`t update.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0f7c6e7d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0f7c6e7d](https://forums.unrealengine.com/u/anonymous_user_0f7c6e7d)\
**Post date:** [January 23, 2020, 3:37pm UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883/2 "2020-01-23T15:37:09Z")

</div>

I think I have to show how my material works.  
At first I collect actors parameters of rotation and position to collection as vectors(V3) in construction script.

 ![295741-constructionscript.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/e/1/7e1c3a9dbd044d2cc789a46f9f7b132b8007158a.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0f7c6e7d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0f7c6e7d](https://forums.unrealengine.com/u/anonymous_user_0f7c6e7d)\
**Post date:** [January 23, 2020, 3:45pm UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883/3 "2020-01-23T15:45:14Z")

</div>

Then I use collected data to create opacity mask with BoxMask-3d

 ![295742-opacity.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/7/e47e9e5e9b1009eedd69d9b302a4333ed0bb125a.jpeg)

 ![295743-cutoff-box.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/7/ba7ff92f0f5a498be7e138b7f7a7764607c25be0.jpeg)

---

<div class="post-metadata">

**Author:** ![sequencermatt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sequencermatt](https://forums.unrealengine.com/u/sequencermatt)\
**Post date:** [January 23, 2020, 5:41pm UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883/4 "2020-01-23T17:41:40Z")

</div>

Go into the Class Settings for that actor and enable “Run Construction Script in Sequencer” and make sure the dropdown in Sequencer also has the construction script setting enabled.

You will probably need to wire the Tick function to call the same thing at runtime - construction scripts won’t be run every frame at runtime.

![295747-lgvp44ing7.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/9/4/1944e31d674d52452b8f046453746f091f96fbf1.png)

 ![295748-ue4editor-win64-debug-piipmeussp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/9/53967d9082bb501998b809de90f3de2c2682b0e1.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0f7c6e7d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0f7c6e7d](https://forums.unrealengine.com/u/anonymous_user_0f7c6e7d)\
**Post date:** [January 24, 2020, 11:14am UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883/5 "2020-01-24T11:14:44Z")

</div>

Thank you! You have saved me! It works!

---

<div class="post-metadata">

**Author:** ![rpar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rpar](https://forums.unrealengine.com/u/rpar)\
**Post date:** [July 5, 2023, 6:36pm UTC](https://forums.unrealengine.com/t/opacity-mask-doesn-t-update-in-sequencer/460883/6 "2023-07-05T18:36:47Z")

</div>

Hey everyone!

First off, I just want to give a huge shout-out to you all for your brilliant suggestions. You guys totally helped me tackle the first part of my issue, and I’m super grateful for that.

Now, I’ve got a bit of a head-scratcher here. For some reason, the movie render queue isn’t rendering the construction script I’m messing around with in my sequencer. Oddly enough, it seems a lot like the example we were chit-chatting about earlier.

If anyone has some spare time and can help me out, I’d really appreciate it.  
Cheers
