Skip to content

function letterWidth (client-side)

Available since version: 0.0.4

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

Declaration

int letterWidth(string character)

Parameters

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

Returns int

the text width.