0 votes

I have an VBoxContainer inside an CenterContainer with some labels and I want them to be selectable trough W and S, so you can scroll up and down. Is there a way to focus labels and maybe play some kind of animation?

asked Apr 18 in Engine by LurreAllire (25 points)

1 Answer

0 votes

Use Area2D nodes for each button and for a cursor node. This way each button can detect whether the cursor is colliding with it. Make the cursor move up and down using W and S, so each time you press, the cursor jumps up/down to the next button. Once this works, make the cursor invisible and voila!

answered Apr 18 by camarones (101 points)
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.