Topic was automatically imported from the old Question2Answer platform.
Asked By
bluemage
I’d like to use the built in signals but I’m creating the node that I want to use with the TextureRect.new() in code.
I know i can make a custom signal. That’s not what I want to do though.
Is there a way to use the built in signals on mouse entered and exited through just code?
I guess I need to know how to turn the signal on and how to write a function for the signal.
Here, I’m referencing a TextureRect instance that I created in the editor, but it doesn’t matter. Just replace my $TextureRect with your code-created reference.