(SOLVED)Cant send msg Ingamechat only if text input is not selected

Hi guys, i already managed to get a in game chat, but when i send a msg and the text input for the chat is selected i cant send msg, unless i click out of it. The vid down will explain.

Click here to watch the vid on proton.drive

Unfortunately, the vid doesn’t explain - we can’t tell what you are doing wrt keypresses and mouse clicks.

What are the events that you use to send the text?


I wrote a quick test and got this event to fill the DisplayText object as soon as I press enter/return:

image

1 Like

Try using the condition “ChatInput value was submitted” instead of “Return key is released”.

The text input object is a little different to the other GDevelop objects and I get the feeling it’s not completely under GDevelop’s control. I suspect the return key being pressed may be consumed by the text input rather than being sent to GDevelop.

1 Like

tysm it works now, lol. :v: :smile: :smiley: :star_struck: