Double-click and tap
Check for a double-click or a tap.
Authors and contributors to this community extension: Silver-Streak, D8H.
Check for a double-click with a mouse, or a tap and double-click on a touchscreen.
Please note: Touch devices do not have alternatives for middle/right clicks. Taps on a touch device will get counted for any use of these conditions, so you should either design your controls accordingly, or build out separate events if the device has a touch screen.
Breaking changes from 2.0.0:
- Mouse button value now needs quotes
- The double-click sensitivity now relies on the device settings
Tip
Learn how to install new extensions by following a step-by-step guide.
Conditions
Double-clicked (or double-tapped)
Check if the specified mouse button is clicked twice in a short amount of time.
Clicked (or tapped)
Check if the specified mouse button is clicked.
This page is an auto-generated reference page about the Double-click and tap extension, made by the community of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop community-made extensions here.