ComfyUI Node
Extract Widget Value
Extract a widget/input value from a specific node by numeric ID and widget name.
Extract Widget Value
- string
- float
- int
◄node_identifier0►
◄widget_namemodel►
◄fallback►
◄basename_if_pathtrue►
◄concat_widget_namefalse►
CategoryAUN Nodes/Utility
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| node_identifier | STRING | 0 | Numeric ID or Title of the node to inspect. |
| widget_name | STRING | model | Input/widget name to read from the node (case-insensitive). |
| fallbackopt | STRING | Value to return if the widget isn't found. | |
| basename_if_pathopt | BOOLEAN | true | If the value looks like a path, return only the basename. |
| concat_widget_nameopt | BOOLEAN | false | If true, concatenate the widget name and value with a dash. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| string | STRING | — |
| float | FLOAT | — |
| int | INT | — |