(Solved) Showing and hiding in menu

I’m trying to make that, when you put the cursor over an object, it displays another buttons, and when you pass the cursor again, those buttons hide.
However, I have only been able to do the first thing, but not the second one. Here’s a picture of my code:

Try this :

1 Like

It worked at the very first time! thanks