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?

in Engine by (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!

by (111 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.