Jump to content

Limit pointers on touch devices?


charlie_says
 Share

Recommended Posts

Hi,

I'm just working on a drag & drop demo, which is working prety well - but, when testing on a touch device, I realised I could drag & drop more than one item at a time. This may be a feature I want to keep, but, I wasn''t sure how I could remove it if I didn't.

In Phaser, it's possible to set maxPointers, but in PIXI I'm not sure - I've had a look through the interaction manager docs, and didn't see anything I thought was similar...

Is it possible to limit the number of pointers on a touch device? Or, any way to work round this?

Thanks!

Charlie

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...