> For the complete documentation index, see [llms.txt](https://cmonkeys.gitbook.io/cinput-reference-manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cmonkeys.gitbook.io/cinput-reference-manual/using-cinput/using-cinput-to-control-your-game.md).

# Using cInput to Control Your Game

Once your inputs are defined in your setup script, you'll probably want to use those inputs to control your game. This is very simple to do using cInput's [`GetKey()`](/cinput-reference-manual/script-reference/methods/getkey.md), [`GetKeyDown()`](/cinput-reference-manual/script-reference/methods/getkeydown.md), [`GetKeyUp()`](/cinput-reference-manual/script-reference/methods/getkeyup.md), and [`GetAxis()`](/cinput-reference-manual/script-reference/methods/getaxis.md) functions, which all work in the same way as Unity's Input class functions of the same name.

For example:

If the above code seems familiar, it should! One of the main tenets of cInput was to make its syntax as similar to Unity's `Input` class as possible.
