Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Noob_Maker | |
Old Version | Published before Godot 3 was released. |
I’m not sure if this got asked already, but how do you make keyboard controls in general?
I have an idea on how the code for it might be like: “if left key is pressed, decrease the x value by 5” But I have no idea how to do it with GDScript. I also looked at the documentation and I couldn’t find anything about it.