(question) is my code correct? i can still press two at the same time

Hi @Space_Cowboy,

Welcome to our community! :slight_smile:

Please add Time.frameCount to your Debug.Log method calls. Here is an example: Debug.Log(Time.frameCount + “---- Up Arrow key was pressed.”);

Update gets called once per frame.

Test your game again. What is the output in your console?


See also: