0 votes

So I am using a blackout screen between scene loads (ColorRect with a Tween added) in my mini game I am working on. Fade ins work great but for some reason on my end screen, the buttons are disabled after a fade finishes (no changes on hover, clicks don't work).

What easy solution am I overlooking here?

in Engine by (312 points)

The ColorRect is faded in for the new scene? Is the ColorRect also made invisible after the fade in, i.e. its visible property is set to false?

1 Answer

0 votes
Best answer

Try changing the ColorRect's mouse_filter property. By default, it absorbs mouse inputs and doesn't pass them to the underneath objects. You probably want it to be on "ignore" mode, so it will ignore mouse input, and the underneath items will receive them instead.

by (130 points)
selected by

That did it, thank you!

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 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 webmaster@godotengine.org with your username.