I have a scene called TouchScreenButton
that is expanding on some existing TouchScreenButton
behaviour.
I was using the is_visible_in_tree
in this scene to check if the menu is visible, and if not then to ignore all actions. I was getting the error constant error: _input: Condition "!is_visible_in_tree()" is true.
every time I moved my mouse. The project stayed like that for weeks because I didn't mind the issue. There were thousands of instances of this error in the output screen so I decided to fix it. Now I don't use is_visible_in_tree()
anymore, but a custom property enabled
that I created and it's working fine, BUT - the error is still reported, even though when I search the whole project for is_visible_in_tree()
I don't see any instances.
It's like an old version of the game is running, but then again, It's not, because I had other bugs in the same script and I fixed them. It's just that this error is persistent. How do I get rid of it?