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

**URL:** <https://forum.inductiveautomation.com/t/perspective-scripting-equivalent-to-javascripts-element-animate-function/67647>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 15, 2022, 4:58am UTC](https://forum.inductiveautomation.com/t/perspective-scripting-equivalent-to-javascripts-element-animate-function/67647 "2022-12-15T04:58:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 15, 2022, 9:20am UTC](https://forum.inductiveautomation.com/t/perspective-scripting-equivalent-to-javascripts-element-animate-function/67647/2 "2022-12-15T09:20:29Z")

</div>

Does this help?

> [@Perspective Mouse Click & Drag](https://forum.inductiveautomation.com/t/perspective-mouse-click-drag/28583/27):
>
> Soooo.... i was playing around a bit and i found something to inject js in perspective. I know i know crazy_face Its kinda terrible and requires some knowlegde about the perspective react props... But this seems like it would fit here. A little demo, not to complex for drag and drop. Im writing it to a sessionprop, seems to be easier than trying to find the view props. [dndjsinject.zip](https://forum.inductiveautomation.com/uploads/short-url/k9uW6F1ZYMhCSZY1l161wy5UWue.zip) (7.5 KB) @nader.chinichian

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-scripting-equivalent-to-javascripts-element-animate-function/67647)._
