Copy link to clipboard
Copied
i am trying to put expression on a text layer and I want it from RTL
d1s = inPoint;
d2s = 0;
d2e = 100;
d3s = outPoint;
trans = 2;
if (marker.numKeys==2)
{
d3e = marker.key(2).time;
d1e = marker.key(1).time;
}
else
{
d3e = outPoint - trans;
d1e = inPoint + trans;
}
ease(time, d1s, d1e, d2s, d2e) - ease(time, d3s, d3e, d2s, d2e);
Copy link to clipboard
Copied
And what exactly is the problem? You have not explained yourself and I'm afraid just throwing some code at us that on first glance should work just fine is not particulalrly useful. You need to do better and make an effort to explain the specifics of your problem, including where you are even applying the expression.
Mylenium
Copy link to clipboard
Copied
i am applying animation studio extension on text layer, and the text is in Arabic language, the animation of the text is going from LTR ,, in Arabic the text animation must be from RTL, I tried to manipulate the mode of the range selector to subtract but it didn't work
I have attached a video for how is the script working
Copy link to clipboard
Copied
Change the falloff mode in the advanced settings. Other than that animators should honor the text composer options, so it seems to me you may need to look into those settings.
Mylenium