Skip to main content
Question

Simulating a joystick with prototype


Geoffrey_Menissier

Hello
i’m trying to simulate à joystick on mobile.
As there is no “drag direction” in prototype, I tried something else.

On the middle screen, i have 2 clickable zones, the one on top which redirect to the left screen with “touch down”. And the bottom zone, which redirect to the right frame also on “touch down”.

Left and right canvas have both a redirection to the middle when i touch up.

This part above is ok. But now, I want to be able to go from left to right and right to left, when i don’t “touch up” but simply drag to the bottom (or up) and reach the other part of the joystick. I can do it on desktop with rollover, but I don’t succeed to do it on mobile.

Is there a way to detect a “while hovering” but for mobile ? I also tried a “on drag” on a clickable zone, but it’s not trickeged as I’m still pressed down.

thanks

This topic has been closed for replies.

2 replies

djv
Figmate
  • Community Support
  • 4791 replies
  • October 24, 2023

Hey @Geoffrey_Menissier, sorry to hear you’re having trouble with this!

It’s not currently possible to detect while hovering for mobile.


Geoffrey_Menissier

Thank you for the answer. Hope it will be possible one day 🙂


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings