Getting warning "This interaction must swap from a variant to another variant within the same component set" - Not sure what it means

I’m getting this warning on the instance of the component the interaction is applied to:
“This interaction must swap from a variant to another variant within the same component set”

This is the instance where I see the warning:

And this is the main component with no warning:

The 6 conditionals all do the same thing, which is change the current variant to the only other variant within the same component using a number variable, if the condition is met on a different variable.

I’ve tried deconstructing the component and using a “Change To” instead of the “Set Variable” for each conditional action. Doesn’t seem to change anything. I’ve also tried changing the conditional to reference different variables.

Can’t figure this one out! Thanks all

Hi, Almo.

It means you can only swap the variant on the same component set.

Example:

You can’t switch the red variant with the green variant because they belong to another component.

1 Like

I’m also getting the same error and I’m trying to swap in the same component set.

Hey @JulsQQ – since this is an older topic you’ve posted on, mind making a new one and adding more descriptive details about the design you’re working on?

That way we can make sure all info shared is current and as accurate as possible. I’ll be closing this topic out – thank you!

1 Like