[QUOTE=Urled] if player is overlaping box
and ENter is pressed[/QUOTE] Works fine here, too. It seems there's something else in your event sheet that breaks the functionality.
[QUOTE=Urled]Alos, textboxes must be added in size, so that if you resize the text box to the text size, and the chracter size is 15, you must add another 15 to the end as paddign, or it linebreaks or something[/QUOTE] Font metrics don't work that way.
First of all, values are in points, not in pixel.
1 point = 1/ 12 pica = 1/72 inch = 127/360 mm = 0.3527 mm.
You need the system's dpi (eg. 72 or 96 dpi) and resolution to calculate pixel values from points.
For example, if the reolution is 960 pixel in height and the dpi is 96, then the system displays 10 inch with 960 pixel.
A 15 point font would have a font height of 0.2083 inch (0.02083%) which results in a font height of 20 pixel (960 * 0.02083).
Second, the point size only defines the height (ascent + descent + internal leading, but without external leading). It also tells you nothing about the actual width of a character, that varies (e.g. "m" is much wider than "i" in non-monospaced fonts). But if a text box is not wide enough to display the text, it does indeed shift to the next line or, if no spaces are in between, doesn't display at all.