Hold Mouse Button vs. Tap Mouse Button

Why wouldn’t that work? When pressed make a bool that becomes true.
Make the bool false when release.

So now when is pressed make the bool true. Then add a delay. How ever long you want to check. Do a branch. Is the button release? (False) Then do tap logic. If it still true then do hold logic.