How do i move from one line edit to the other using the TAB key?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ABaconWrappedHotdog

I want to be able to move from each line edit to the other without having to individually click each one of them.
enter image description here

I saw an old answer from 2018 about putting them in containers, but it doesn’t work and also gives me this yellow warning telling me the container serves no purpose.
enter image description here

Here is the old question from 2018 I was referring to, it doesn’t see to work according to what the answer said:

:bust_in_silhouette: Reply From: lewis glasgow
if $from.has_focus() and Input.is_key_pressed(KEY_TAB):