Skip to main content
sabawarnali
Known Participant
May 17, 2021
Question

RTL expression

  • May 17, 2021
  • 2 replies
  • 420 views

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);

 

 

This topic has been closed for replies.

2 replies

Mylenium
Legend
May 18, 2021

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

Mylenium
Legend
May 17, 2021

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

sabawarnali
Known Participant
May 18, 2021

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