(solved!) Simulate specific key

Is there any way to simulate specific key like “a” or “b” when the cursor is touch/clicking a sprite?

Simulate actually pressing the key? No. The “Simulate” actions are only for the platformer/top down behaviors.

Simulate a letter being added to a string value or text object? sure.

Just set up an event that checks whenever you click on the sprite, then modify the string/text/variable/etc with “add” a, instead of “Set to” or “=” a.

1 Like

If i want to modify the string of my text entry, what should I write on the “variable”?

Oh, I figured it out! I should choose “text in memory” instead of “text of an object variable”. Thankyou for your time!