# problem with code

**URL:** <https://discussions.unity.com/t/problem-with-code/881077>\
**Category:** Scripting\
**Tags:** Scripting\
**Created:** [May 10, 2022, 11:45am UTC](https://discussions.unity.com/t/problem-with-code/881077 "2022-05-10T11:45:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MelvMay](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/melvmay/32/548775_2.png) [@MelvMay](https://discussions.unity.com/u/MelvMay)\
**Post date:** [May 10, 2022, 11:50am UTC](https://discussions.unity.com/t/problem-with-code/881077/2 "2022-05-10T11:50:52Z")

</div>

- Use [code-tags](https://discussions.unity.com/t/481379) when posting code.

- Don’t post pointless polls

- Be aware that C# is case-sensitive. “input” is not the same as “Input”.

- Don’t come to the forums trying to learn how to fix basic mistakes, trying following some basic C# tutorials. The “KeyCode” thing is just plain wrong. If you’re following a tutorial, go back to the tutorial and look at it again or look at code examples of it being used.

- Use the Scripting Reference and search for the problem thing. In your case, searching for “KeyCode” shows you how to use it: [Unity - Scripting API: KeyCode](https://docs.unity3d.com/ScriptReference/KeyCode.html)

- Errors tell you the exact line and column numbers so you already have that info (above it’s Line 20, Column 13 and Line 20, Column 30)

I hope some of that helps.

---

_[View the full topic](https://discussions.unity.com/t/problem-with-code/881077)._
