# TextInput

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

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

```java
new TextInput(Scene parentScene, Vector2 position, Vector2 scale);
```

{% endtab %}

{% tab title="Methods" %}

```java
getTransform(); // Returns Transform Object

getValue(); // Returns String

setFont(Font font); // Sets the Text font

setColor(Color backgroundColor, Color foregroundColor, Color selectedColor);

setBackgroundImage(Sprite spr);

limitCharacter(int limit); // Limit how many character can be typed
```

{% endtab %}
{% endtabs %}
