How do I make the arrows in the Pro Gallery slideshow only appear when I hover? How do I write code when using velo?(Editor X)

How do I make the arrows in the Pro Gallery slideshow only appear when I hover? How do I write code when using velo?
I use Editor X.

It seems like it’s not supported on all galleries, but for galleries where it is, this should work (put it in the onReady function):

$w("#myGallery").showNavigationButtons=false;

//When mouse enters the gallery, show the buttons
$w("#myGallery").onMouseIn(()=>{
$w("#myGallery").showNavigationButtons=true;
})

//When the mouse leaves the gallery, hide it
$w("#myGallery").onMouseOut(()=>{
$w("#myGallery").showNavigationButtons=false;
})

You can read the documentation here:

Thanks!!!