Button created programmatically after mouse click doesn't work initially

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

Hi all,

I’m creating a new button as the result of a mouse click on a node2d. The created button does not respond to hovering or clicking until after another click is inputted anywhere on the screen. Does anyone know why this might be?