TextureButton Not Working Properly

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By neoxid501

So I’m not sure if I’m using the TextureButtons correctly, but the way I have them set up is I assigned a png to the Normal, Pressed, and Hover textures but no matter what I do the image in my scene isn’t changing. The node structure is as follows:

–Texture Button

Additionally, the pressed() signal is only sending when I use my touchscreen to tap on the button and the texture still doesn’t change. Everything else aside from the 3 textures I listed above I left untouched.

Thanks again!

Maybe the TextureButtons need to be children of a parent Control node? I’m not sure.

Diet Estus | 2018-04-03 16:03

I’m currently using TextureButton and I have not such problem.
When you say touchscreen, what kind of device and OS are you on?

BraindeadBZH | 2018-04-03 18:01

Didn’t work :frowning:

neoxid501 | 2018-04-03 18:51

I’m using a Windows laptop with a touchscreen.
Edit: Okay wait, it’s working in a completely new project, but not the one I’m working in for some reason :thinking:

neoxid501 | 2018-04-03 18:52

Go through your project settings and check, also check the mouse filter for your button.

BraindeadBZH | 2018-04-03 19:35

Enabled focus is set to All, and I’m not sure what setting I’m looking for in Project Settings.
Edit: Oh I’m dumb (see answer) ty for the help though I eventually found the problem

neoxid501 | 2018-04-03 21:18

:bust_in_silhouette: Reply From: neoxid501

I’m dumb, please disregard. I had a singleton that was resetting the scene because my test scene didn’t have a specific object lol