Str

Coerces any value to its string representation.

Category: Type Returns: string

Signature

Str(value)

Examples

Str(var_player_score)             // "42"
Str(var_is_active)                // "True" or "False"
Str(var_temperature) + "C"        // concatenate with a unit label

Notes

Booleans become "True" or "False" (capitalized). Decimal numbers print with a dot as the decimal point and no thousands separator.

Docs last synced: 2026-07-08
Screenshot viewer