Are events in mobile devices the same as in computers?

Hi!

I am working on a game that supposed to run on computers and mobile devices (probably it will have more players in mobiles). My question is about click and drag-and-drop events.

Do I need to implement something special to have it working on mobiles or it will automatically stick to the computer events?

:thinking:

The pointerup and pointerdown events include mouse and touch input.

1 Like

Good to know! Thanks!

PS: I thanked you yesterday in the HTML5Dev for the labs examples. I didn’t know that and it’s very handy! I am “LPBR” there.

:blush: