how to scale a sprite when mouse is above

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

how to do that?

i tried:

func _on_StaticBody2D_mouse_entered():
	get_child(1).set_scale(Vector2(100,1000))

but that doesnt work xd

:bust_in_silhouette: Reply From: exuin

Did you set input_pickable true for the StaticBody2D?