# Perspective Mouse Click & Drag

**URL:** <https://forum.inductiveautomation.com/t/perspective-mouse-click-drag/28583>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 26, 2019, 1:55pm UTC](https://forum.inductiveautomation.com/t/perspective-mouse-click-drag/28583 "2019-09-26T13:55:07Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 28, 2022, 9:15am UTC](https://forum.inductiveautomation.com/t/perspective-mouse-click-drag/28583/27 "2022-10-28T09:15:23Z")

</div>

Soooo.... i was playing around a bit and i found something to inject js in perspective.  
I know i know 🤪  
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-mouse-click-drag/28583)._
