# 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:** 18

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [February 14, 2020, 4:57pm UTC](https://forum.inductiveautomation.com/t/perspective-mouse-click-drag/28583/18 "2020-02-14T16:57:03Z")

</div>

I think we have a winner! It is not perfect, I think because of having to use the messagehandlers and timing, and with an onInstanceMouseDown and onInstanceMouseUp would really smooth that out. That would also eliminate the need to have the messageHandlers and output parameter too, making it a much smoother design.

However, here is a working version incase anyone needs it!  
[PerspectiveClickAndDragComponents.zip](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/71c88f0d6a64d5b00fbab2bfb4773e6269c216e4.zip) (5.0 KB)

![com-video-to-gif%20(2)](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d70c9f628960f3a63ce64416f9a47faea971288c.gif)

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-mouse-click-drag/28583)._
