> For the complete documentation index, see [llms.txt](https://kree.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kree.gitbook.io/documentation/core-components/input.md).

# Input

This component handles

> Component Author: [Jabo](https://github.com/jabo-bernardo)\
> Release Date: April 11, 2020

{% hint style="info" %}
*NOTE: This Component is a **Static** class*
{% endhint %}

{% tabs %}
{% tab title="Properties" %}

```java
// Mouse Input Properties
boolean Input.mouseClicked;
boolean Input.leftMouseClicked;
boolean Input.middleMouseClicked;
boolean Input.rightMouseClicked;

// Keyboard Input Properties
boolean Input.keyPressed;
char Input.lastKey;
```

{% endtab %}

{% tab title="Methods" %}

```java
Input.isKeyPressed(int keyCode); // Returns boolean

Input.getMouse(); // Returns Vector2 Object

Input.mouseIn(GameObject gameObject); // Returns boolean
```

{% endtab %}
{% endtabs %}
