How to realize double click in principle?

How to realize double click in principle?

I managed to fake it, it works quite decently.

Basically:

state 1: click > state 2 (which is identical than state 1), then from state 2: click > state 3 which is the desired state after double clicking.

the trick is to put an auto transition from state 2 to state 1 of about 1 second, so if a second click is not performed, you will be again in state 1

for auto transition to work there MUST be a difference, so in this case I just changed from opacity 100% in state 1, to 99% opacity in state 2, is not noticeable.

Alternatively you can use an auto transition from state 3 to trigger another action when the double click has been done.

doubleclick

Example attached

1 Like

@shonen Thanks a lot,I had solved this problem。

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.