Thanks for the quick solution Mikel.
I used below code to solve the issue -
gsap.fromTo("#box",{
x : 50,
opacity : 0
}, {
x : 0,
opacity : 1
});
Let me know, if it is valid one.
Hi,
I have an element placed at right of the screen. I wanted to animate the element from right to its original position. Currently I am applying x property but it is animating the element from left to its original position.