I have this Canvas system that draws a line from the last position of the mouse to the current
it works just fine on PC but on mobile a user can click somewhere and use another finger to click another place thus the system will draw a line between them when it’s actually not a true line since he used 2 finger
Keep in mind the system for some reason still assumes last position in the finger I am holding so it’s almost like m1 event is fired alot
Use this function for touch screens
You can basically ignore it if the touch list has more than 1 since that means more than 1 finger is down on the screen which will prevent the issue you are talking about.
how do I keep track of one finger?
If you want to track a moving finger use this
I’m not sure exactly how this would behave as fingers are added/removed so you probably have to test it a bit to confirm the exact behavior.
for UIS.tap event it only works if the finger is tap endded which breaks my system is there a way to know exactly when they tap down or m1 down
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.