Hello! I’m currently trying to add some keydown scripts and I’m wondering if and how I can make the app go to a different scene if I press the button when the time is 1 second or 2 seconds.
To be more specific, the main scene has two buttons. I want to change the buttons border depending on what time in the timeline it is.
At 1 second, btn1 will be highlighted.
At 2 seconds, btn2 will be highlighted.
When I use for example “A” on the keyboard at 1 second in the timeline I want to jump to scene 1.
When I use “A” on the keyboard at 2 seconds in the timeline I want to jump to scene 2.
Any help is much appreciated.
I MANAGED TO FIX THIS WITH FOCUS IN CSS, HOWEVER THERE ARE SOME BUGS WITH SCENE TRANSITION AND KEYBINDS. LOOK AT MY OTHER COMMENTS