Script written in Bash to quickly switch between two inputs of one of your connected displays. Using two computers on one display with a built in KVM is awesome! ...but it quickly becomes cumbersome ...
Building upon the previous lesson, :ref:`doc_scripting_first_script`, let's look at another important feature of any game: giving control to the player. To add this, we need to modify our sprite_2d.gd ...
The script command not only makes a record of what commands you run but also allows you to save the output generated so that you can examine it later or easily turn your command sequences into scripts ...