Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Add information on how long a click took to complete #359

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

TotalKrill
Copy link

Problem

When using pointerevents to spawn things, it is nice to use the hitdata from a click-event to know where. But it would be nice to be able to differentiate between a long click or a short click.

Solution

Have the Click Event contain a duration for how long between down and up, to let the handler logic determine what to do.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant