Control whether to add geometry with boolean variable - geometry nodes

Hey, does anyone know if there is a way to control whether to add geometry or not based on a boolean value?
Something like a join geometry node with a boolean input.

I’m not quite sure what you’re asking. Are you talking about boolean math or the boolean modifier? I’m guessing the boolean modifier. Either way, what’s an example that you’re question would be used in?

I want to use a boolean variable to control whether the geometry is or isn’t joined.

Maybe this will help visualize it: You have Geometry A and Geometry B and the Boolean Variable C.
If C is true then it will output A+B if C is false then the output will only be A.

You can also think of it as a Boolean C muting or unmuting a “Join Geometry” node that has Geometry A and B as input.


Thanks but that’s only available in blender 3.0 alpha right?
Any solutions for more stable versions?