How to change button state use GDScript

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

I want to change button state, i change button normal to hover state at GDScript to simulate mouse enter it

:bust_in_silhouette: Reply From: exuin

You can’t simulate hover, just change the texture for the normal state