I am new in gdevelop. I’ve started to do a game. The question I have it’s how to avoid special character and numbers when the player write their name in the game. I just look around the forum but i didnt find any answer which it can help.
Somewhere in your regex statement you need something like:
var AllowRegex = /^[\ba-zA-Z\s-]$/;
if (AllowRegex.test(character)) return true;
return false;