Check if Slider is being hovered over

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Chain
:warning: Old Version Published before Godot 3 was released.

I want to be able to hide the slider if it isn’t being hovered over. Has_focus() only works if it was being clicked on.

:bust_in_silhouette: Reply From: codyparker

For the sliders, you should be able to use the mouse_enter() signal to handle “hovering.” And then mouse_exit() when the cursor leaves the slider. But make sure that “Ignore Mouse” is not checked on the slider properties.

Thanks, totally forgot about that :slight_smile:

Chain | 2017-09-05 21:20