# Double click on touch screen

**URL:** https://forum.kirupa.com/t/double-click-on-touch-screen/318045
**Category:** Uncategorized
**Created:** [January 9, 2011, 5:53am UTC](https://forum.kirupa.com/t/double-click-on-touch-screen/318045 "2011-01-09T05:53:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oluc](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@oluc](https://forum.kirupa.com/u/oluc)
#### Post date: [January 9, 2011, 5:53am UTC](https://forum.kirupa.com/t/double-click-on-touch-screen/318045/1 "2011-01-09T05:53:31Z")

</div>

hey there!

i have dynamic coding for a full screen toggle button that needs to be a “double click” button. its for a touch screen.  
do you know how to allow a double click for a touch screen? from what I know, for touch screens you have to use the MOUSE\_DOWN event. but i need to allow for a double click. i tried the DOUBLE\_CLICK mouseEvent and set doubleClickEnabled to true but it does now work on the touch screen.  
here is the code:

fsToggle.doubleClickEnabled = true;  
fsToggle.addEventListener(MouseEvent.DOUBLE\_CLICK, fullScreenToggle);  
}

i could use DOWN and then measure an amount of time for the click to bring a function into play but im not sure how i would go about that either…

thanks for any tips or help!
