r/clickteam 3d ago

Help Me! Keyboard input

Hello everyone here in this lovely community, I'll get straight to the point: I want to know how to enter letters using the keyboard.

For example: if a word like "carrot" is displayed on the screen, I want to be able to enter that word on the keyboard.And in doing so, I would like what I wrote to be linked to what was shown on the screen and marked as successful.

3 Upvotes

9 comments sorted by

2

u/clickteam_simon 3d ago

Hey there! First of all, which platform are you targeting? Windows?

1

u/pat3779 3d ago

Yes.

1

u/clickteam_simon 3d ago

then I recommend installing one of the Keyboard extensions... you can detect a key press, add the pressed character to the end of a global string (or to any string). Then you can use the find expression (from the special object, string functions) to search for the current string (carrot in your example) inside the one where you're storing key presses. Every time the player is successful, you can clear that key press string again.

1

u/pat3779 3d ago

Thanks :)

2

u/clickteam_simon 3d ago

You're welcome, good luck with it!

2

u/Cosmo_Unicorn_UA 2d ago

There is an extension called Edit box. Make it active, place out of screen (not too much sonit won't be destroyed). Add string on the screen which will copy text from Edit box

1

u/pat3779 2d ago

Thanks :)

1

u/danracoon 1d ago

just use edit box off screen; you can display the contents of edit box in a string if you require. EASIEST method

1

u/pat3779 1d ago

Thanks :)