π CR Schedule Input Switch
Flip between two animation schedules on one wire
- schedule1
- schedule2
- SCHEDULE
- show_help
A SCHEDULE in Comfyroll's animation corner is a block of frame-keyed data - a value, a prompt, a LoRA, a camera move, whatever - built up by nodes like CR Simple Schedule or CR Central Schedule. Once you've got two of them sitting around (your current timing versus a revision you're testing, a calm version of a camera pan versus a chaotic one), CR Schedule Input Switch is the toggle that lets you flip between them without unplugging and replugging wires every time you want to A/B.
It's a one-job node and it does that job with a single integer.
How it works
Two SCHEDULE inputs go in, one comes out. Which one comes out is decided entirely by the Input value: set it to 1 and schedule1 passes through; set it to 2 and schedule2 does. That's the whole mechanism - no blending, no interpolation between the two, just a hard cut to whichever schedule you've selected.
The practical use is exactly what you'd expect from a switch: keep both versions of a schedule wired in at once, flip the Input widget, re-run, and compare the results without touching the rest of your graph. It's also handy for quickly disabling a schedule branch - wire schedule2 to a dummy/no-op schedule and use it as an off switch for whatever schedule1 is driving.
The inputs and outputs that matter
Input(INT, 1β2, default 1) - the selector. This is the only thing you actually touch during normal use.schedule1/schedule2- the two candidateSCHEDULEvalues. Both are required, so even if you're only using one, the other needs something plugged in - a spare CR Simple Schedule node with harmless defaults works fine as a placeholder.
Output is a single SCHEDULE, which wires onward into whatever was consuming your schedule before - CR Central Schedule for merging, or directly into an animation-driving node - plus the pack-standard show_help link.
How to install it
This is part of Comfyroll Studio (Suzie1 and RockOfFire), so if you're already using any other Comfyroll node you have it.
- ComfyUI Manager - search "Comfyroll Studio," install, restart.
- Manual -
cd ComfyUI/custom_nodes
git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
then restart. No models, no extra dependencies for this node.
Common issues & troubleshooting
Nothing changes when you flip Input. Double-check both schedule1 and schedule2 are actually connected to distinct, real SCHEDULE sources - if you plugged the same upstream node into both, or left one at a bare default, switching between them will look like nothing happened because functionally nothing did.
Downstream node complains about type. SCHEDULE is Comfyroll's own custom socket type, not a generic string, even though it reads like one internally. It only connects cleanly to other Comfyroll schedule nodes - you can't casually wire it into a plain STRING input expecting Deforum-style text without going through a proper conversion node first.
The whole pack is missing from the node menu. If none of Comfyroll's nodes show up after install, that's a load failure, not something specific to this node - check your startup log for Comfyroll Studio: Failed to load Graphics nodes followed by NameError: name 'CR_HalftoneGrid' is not defined. That NameError is a downstream symptom of an earlier import error (often a Pillow version conflict from another custom node) taking the pack down. Reinstall Pillow (pip install --upgrade --force-reinstall pillow) and restart, or do a clean reinstall of the pack if that doesn't clear it.
You're reaching for this and don't actually have two schedules yet. This node is purely a switch - it doesn't build schedules. Start with CR Simple Schedule (or CR Central Schedule for merging several) to actually author the two SCHEDULE values you want to compare, then bring this in once you have both.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| Input | INT | 11β2 | β |
| schedule1 | SCHEDULE | β | |
| schedule2 | SCHEDULE | β |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| SCHEDULE | SCHEDULE | β |
| show_help | STRING | β |