All Questions



Missing movement code and One Shot Timer property

When I tested out the cursor movement via arrow key presses, the cursor would move two spaces instead of one. I checked the final code example and noticed a missing snippet of code in the `_unhandled_input()` method:

# ...

# The below check is missing from the lesson!
if not should_move:


When I added the missing check, it fixed the issue of the cursor moving two spaces; however, it introduced a new issue: holding down the keys did not continually move the cursor.
I checked the final project example and found that the Timer node was set to 'One Shot', and when I turned on One Shot for my Timer node, it fixed the issue.

  • Nathan Lovato replied

    Will be fixed in the next update, thanks!