Author Topic: Simple Double Click[SOLVED]  (Read 8663 times)


  • Junior Playmaker
  • **
  • Posts: 73
Simple Double Click[SOLVED]
« on: June 24, 2016, 03:32:58 PM »

I came up with this really simple double click setup for a game I'm working on after failing to understand the instructions given in a help post :p

Topic: [SOLVED] Mouse Double Click - how to?

It's been working out great for me so maybe it will suit your purposes as well if jeanfabre's resolution doesn't.

In my case, I needed to let the player click to and drag the screen to scroll through content as well as click the same screen to roll a die. In order to keep the two functions from clashing, I needed a double click so there was a distinction.

When the player clicks the scene, they trigger a box collider FSM I put back there. If they don't click again before the "Check for Double Click" state is done waiting, it returns to the "Waiting" state. A "Wait" action set to 0.2 seems to work for my double click but making it a larger number will allow for slower double clickers. If the player clicks within the time frame, it follows through with the dice roll.

Hope this helps someone out!
« Last Edit: September 27, 2016, 03:12:53 AM by jeanfabre »


  • Playmaker Newbie
  • *
  • Posts: 1
Re: Simple Double Click
« Reply #1 on: August 03, 2016, 07:51:46 PM »
Oh, I was wondering about it for a long time. Thanks for solution mate!
I hate cleaning, so I love najlepsze maszyny czyszczÄ…ce!


  • Playmaker Newbie
  • *
  • Posts: 1
Re: Simple Double Click
« Reply #2 on: August 09, 2016, 05:24:51 AM »
I really like this as well. Works for me perfectly ;)
Tomografia might save your life!


  • Playmaker Newbie
  • *
  • Posts: 1
Re: Simple Double Click
« Reply #3 on: August 11, 2016, 09:37:07 AM »
You made my day! Thanks!!
You should know that I am a nurse at


  • Playmaker Newbie
  • *
  • Posts: 2
Re: Simple Double Click[SOLVED]
« Reply #4 on: August 23, 2019, 10:30:28 AM »
Yes you really made my day to!  ;D


  • Administrator
  • Hero Member
  • *****
  • Posts: 15499
  • Official Playmaker Support
Re: Simple Double Click[SOLVED]
« Reply #5 on: February 17, 2020, 01:59:32 AM »

 yes, my solution was more complicated than this, that was the early days for me :) indeed I am doing it like you do now !