TextRenderer.getPixelSize() - Mtax-Development/GML-OOP GitHub Wiki

Arguments

Name
Type
Optional
string?
Yes
scale?
Yes

Returns

{Vector2} | On error: {undefined}

Description

Return the number of pixels the text would occupy when rendered with either its current or specified Scale, or specified Font size.

⚠️ **GitHub.com Fallback** ⚠️