Perspective scripting equivalent to javascript's 'element.animate()' function?

I'm currently making a screen that allows you to drag a component around with the mouse, changing its x and y positions on mouseMove. However, its quite choppy. I've seen this done using js before and using the animate() function really smoothed out the movement. How can I replicate this function using Perspective's scripting functionality? Thanks

Does this help?

1 Like

That markdown trick is so dodgy but it works! Cheers