Description
Please rate this asset if you have it. Your feedback helps me improve. Thank you!
A gml extension that provides a new function, mouse_check_doubleclick.
It's simple to use:
syntax: mouse_check_doubleclick(mouse_button, delay_microseconds)
returns: true if a double-click is detected, false if no double click is detected.
It's best to use it in the Mouse or Step events.
Example code:
///Create Event:
mouse_doubleclick_init(); // initializes the timer variable for double-click timing
///Mouse Event:
//checks for a double-click with the left mouse button and a quarter-second delay
if mouse_check_doubleclick(mb_left, 250000)
{
//do double-click action
}
Very easy!
End User Licence Agreement (EULA)
Age Rating: 4+
Version
GMS1 - Version 1.0.1. Published May 23, 2015
Initial release
Extension includes two functions:
- mouse_doubleclick_init()
- mouse_check_doubleclick()
Loading, please wait
Package contents
Loading, please wait
What is the issue?
Loading, please wait