After a quick scan of the video, I see an on_POS_mouse_entered()
function and an on_POS_mouse_exited()
function. Is that what you're referring to? Notice those are 2 different functions connected to 2 different Godot signals as follows:
func _on_POS_mouse_entered():
$mouse_over.show()
func _on_POS_mouse_exited():
$mouse_over.hide()
What's the confusion here?