0 votes

I am attempting to have a menu follow the camera. When selecting a button on the menu, a sprite pops up. The goal is to let the user drag and drop the sprite into a grid space. In order to have the menu follow the screen, I used a canvas layer. That did everything I wanted. However, it does not allow me to drag and drop the sprite that pops up. Outside the canvas layer, the sprite is able to be grabbed. The buttons are operational in both the canvas layer and outside of it. I have looked up several questions from people who had a similar problem. The links below are some examples of places I have look at,
I only used a canvas layer because of its convenience. If there is another way to allow something to remain on screen, then I will do that. Any solution or work around would be appreciated.

in Engine by (20 points)

1 Answer

0 votes

I think you must handle mouse events on Inspector ->Mouse->Filter->Stop

by (62 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.