I am new to Godot engine and Game dev. I have search about different ways to handle double click detection for player movements. It seems to have different approach every developer. But is there a best way to achieve this?
Double click detection for horizontal and vertical movements like doing double jump, dash animation, rolling animation and etc.
Try adding a counter that resets every 2-5 frames every click adds to the counter, and check right before the counter resets for 1 click (single click) or 2 clicks (double click). Then and it with whatever movement direction is happening in an if statement.