Test Reset Button
A test node — but it's the demo for the pack's most useful UI trick
- INT
Let's be honest about what this node is: Test Reset Button is a demo. It exists so the pack's author can prove the reset-button UI works. It has one integer input (test_value, default 5), a reset button that snaps it back to 5, and it passes the value straight through as an INT output. There is no image processing here, no hidden depth. If you find it in your search results, the real reason to care is what it demonstrates: every numeric widget in Pirog's Nodes gets a small reset button that restores its default value on click.
Why that's actually useful
Every ComfyUI user has burned a workflow by sliding a seed or a strength slider somewhere, forgetting, and then wondering why nothing matches the screenshot. The pack ships a custom JS overlay (pirogs_reset_ui.js) that puts a reset button to the right of every number widget on these nodes - click it and the field returns to its Python-side default. No remembering what 0.8 was supposed to be, no retyping. That's the feature this "test" node is showing off.
The inputs and output
- test_value - an
INT0–10, default 5. - INT - the same value, passed through.
That's the entire schema. It's deliberately minimal because its job is to demo the widget, not to be a useful node.
Should you use it?
Honestly, no - not for anything real. If you need an integer passthrough, use a core node or a utility pack. What you should do is notice the reset buttons on the rest of the pack's nodes and thank the author for the free quality-of-life. This node's value is entirely diagnostic: if you install Pirog's Nodes and the reset buttons don't appear anywhere, you can grab this node, click its button, and know instantly whether the JS loaded.
Installing it
Same pack, same install:
cd ComfyUI/custom_nodes
git clone https://github.com/Pirog17000/Pirogs-Nodes
pip install -r Pirogs-Nodes/requirements.txt
Or ComfyUI Manager → "Pirog's Nodes" → restart. Because the reset button is front-end code, a hard refresh (Ctrl+Shift+R) after installing is worth doing if buttons are missing - a stale cache is the most common reason a JS feature "doesn't work."
Gotchas
One per the README: the reset button restores the default, not your last value. If you've tuned something and accidentally click reset, that tuning is gone - there's no undo. And this being a demo node, don't expect it in other packs' graphs: it's a Pirogs-Nodes-specific widget, and only shows up on this pack's nodes.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| test_value | INT | 50–10 | Test integer value with reset button functionality |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| INT | INT | The test integer value |