Back to gallery
Prefab preview
Prefab
Created by
Sorrelyn
Text Size
Gets the maximum number of characters horizontally and vertically in a string, useful for sizing text boxes dynamically. Probably works best when expecting to use monospaced font. Inputs: 1. Input (str) Outputs: 1. X Size (int) 2. Y Size (int) For example, the following: "line 1 line 2 much longer line" would return: X = 16 Y = 3
1 likes
20 views
View in game
- Published
- August 18, 2026 at UTC
- Updated
- August 18, 2026 at UTC
- Version
- 1
- Share code
a5q-45c-22k