Patch Editor
Utility Patches
To String Patch

To String Patch

Use the To String patch to convert a boolean, number, pulse, text or vector value into a text string.

Input

NameDescription

Value

A boolean, number, pulse, text or vector value. You can change the type of input in the patch settings.

Outputs

NameDescription

Text string

The input value converted to a text string.

Example

In the example below, the To String patch is being used to convert the 3D position of the user's nose into a text string. This text string is then being used by a 2D Text object to display the values above the user's head.

Was this article helpful?