Widget To String

WidgetToString

Selects a node and it's specified widget and outputs the value as a string. If no node id or title is provided it will use the 'any_input' link and use that node. To see node id's, enable "Node ID Badge Mode" in main settings. Alternatively you can search with the node title. Node titles ONLY exist if they are manually edited! 'widget_name' can be a comma separated list. The 'any_input' is required for making sure the node you want the value from exists in the workflow.

Pack: KJNodes for ComfyUI

custom_nodes.ComfyUI-KJNodes

Inputs (6)

NameTypeRequired
idINTrequired
widget_nameSTRINGrequired
return_allBOOLEANrequired
any_input*optional
node_titleSTRINGoptional
allowed_float_decimalsINToptional

Outputs (1)

NameType
STRINGSTRING