0 votes

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.

asked Sep 5, 2017 in Engine by Chain (71 points)

1 Answer

+2 votes
Best answer

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.

answered Sep 5, 2017 by codyparker (48 points)
selected Sep 5, 2017 by Chain

Thanks, totally forgot about that :)

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.