[repost] Touch events broken with VPS

I am still waiting for a fix for my drag and drop system, which is the limiting factor to start user testing.
The touch events stop in VPS when moving. Please fix this or provide a workaround for drag and drop in AR!

You can test the bug when running the drag and drop sample with VPS instead of regular AR: Studio: Drag and Drop | Dunk Technologies | 8th Wall
You pick up a duck but it instantly drops

Original unanswered post: Object detects touch stopped without me stopping the touch - #6 by Dylan_Smit

Thanks for posting this, I’ll make sure it gets flagged with the engineering team.

Hi, I’ve got an update for you. The engineering team has looked into this and it looks like the best way to handle this case where you want to move and click at the same time is adding support for checking the mouse button in your code like this:

.onEvent(ecs.input.SCREEN_TOUCH_START, 'following', {
  target: eid,
  where: (e) => e.data.button === 0
})

Keep in mind this won’t work until the the engineering team is able to get this fix out.