i need a mask over the currently spoken Word via markers

What type of scripts do you need?

Moderator: byronnash

Post Reply
Reborn-Adopted
Posts: 2
Joined: April 29th, 2023, 4:45 pm

is there a way to use something like text exploder and then use those text layers with sourceRectAtTime() to make a mask set to markers?

i think i need something that will set mask vertices on comp 2 incrementally with each new marker by marker.key(textIndex).time

so imagine a paragraph of text and i want the mask to be in the position over the Word spoken. so the position and size needs to be dynamic.

sadie110
Posts: 1
Joined: June 1st, 2023, 11:04 pm

Using text exploder, you can break down your text into layers. To create a mask set to markers, iterate through each marker and access the corresponding text layer using marker.key(textIndex). Use sourceRectAtTime(marker.time, false) to get the position and size of the text at that time. Set the vertices of the mask on comp 2 incrementally for each marker. Update the mask's position and size with each new marker. This way, you can dynamically align the mask with the spoken words.
https://www.laptopicker.com/best-laptops-for-adobe-after-effects/

Post Reply