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!

Official Marketplace thread

Full Documentation

End User Licence Agreement (EULA).

Changes in 1.0.1

Initial release

Extension includes two functions:

  • mouse_doubleclick_init()
  • mouse_check_doubleclick()

Version 1.0.1. Published May 23, 2015

Created with GameMaker: Studio v1.4.1567

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Tyler G 17 March 2018

Super easy to use

It works very well and is easy to use.


Gravatar

Francois Z 08 July 2017

Easy to use, and works as advertised.

Package contents

Loading, please wait

What is the issue?

Back to Top