Is there a way (by examining the returned event?) to check what type of event it is?
I need to do slightly different things fr mouse & touch devices/
Is there a way (by examining the returned event?) to check what type of event it is?
I need to do slightly different things fr mouse & touch devices/
pointer
arguments has pointer.isMouse
.
Thanks @samme - that worked a treat