Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to block move to position when user touches overlay interface when using JoystickMoveToPosition. #283

Closed
ahndwon opened this issue Aug 6, 2022 · 6 comments

Comments

@ahndwon
Copy link

ahndwon commented Aug 6, 2022

Hi, I'm using a modified JoystickMoveToPosition.
But when I touch the overlay interface,
due JoystickMoveToPosition, my character moves to position where i pressed on the overlay interface.

Is there a way to block joystick??
I want to only interact with overlay interface.

@ahndwon ahndwon changed the title How to block move to position when user touches overlay interface with JoystickMoveToPosition. How to block move to position when user touches overlay interface when using JoystickMoveToPosition. Aug 6, 2022
@RafaelBarbosatec
Copy link
Owner

Hi @ahndwon !

You are using the GameInterface or your interface is created with Widgets?

@ahndwon
Copy link
Author

ahndwon commented Aug 6, 2022

@RafaelBarbosatec Thank's for the reply!
I'm using interface created by Widgets and also the MiniMap

@RafaelBarbosatec
Copy link
Owner

RafaelBarbosatec commented Aug 6, 2022

Ok, I get it. I have to do improvements about this. Don't let the gestures event pass to the game when received by widgets.

@ahndwon
Copy link
Author

ahndwon commented Aug 6, 2022

Yes that's right!

@RafaelBarbosatec
Copy link
Owner

Hi @ahndwon !
This is fixed in 2.7.0 version.

@ahndwon
Copy link
Author

ahndwon commented Aug 9, 2022

Wow, thanks @RafaelBarbosatec !!
That was fast🔥
I'll check it out and close this issue.
Thanks again!

@ahndwon ahndwon closed this as completed Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants