TextInput "automatically'

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Tiago059
Prole
Posts: 5
Joined: Fri Nov 03, 2017 9:34 pm

TextInput "automatically'

Post by Tiago059 »

I am using a text box through the SUIT library. I wonder if there is any way to leave this text box "focused" so the user does not have to move the mouse to the text box and click it to save time. :cool:

Exemplifying: I want the user to type in the text box without having to go to the box.

I would be grateful for the help, and here follows the part of my code where I use the text box.

Code: Select all

function love.textinput(t)
    suit.textinput(t) 
end
function level1_update(dt)
	suit.Input(respostaInput, 455, 400, 100, 30)
...

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests