Skip to content

function textWidth (client-side)

Available since version: 0.0.4

This function will get the text width on screen in virtuals.

Declaration

int textWidth(string text)

Parameters

  • string text: the text of which you want to calculate width.

Returns int

the text width.