# Different actions for click and drag

**URL:** <https://forum.kirupa.com/t/different-actions-for-click-and-drag/290554>\
**Category:** flash\
**Created:** [June 16, 2009, 11:44am UTC](https://forum.kirupa.com/t/different-actions-for-click-and-drag/290554 "2009-06-16T11:44:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aigarinsh](https://avatars.discourse-cdn.com/v4/letter/a/5fc32e/32.png) [@aigarinsh](https://forum.kirupa.com/u/aigarinsh)\
**Post date:** [June 16, 2009, 11:44am UTC](https://forum.kirupa.com/t/different-actions-for-click-and-drag/290554/1 "2009-06-16T11:44:05Z")

</div>

How can I set different actions for click and drag or just click? For example I have a map with clickable objects. When clicked on object some action happens, but when a user clicks and drags the panning starts not the click action of object.
