|AutoAddIgnoreTags|{{RootFieldType|SyncFieldList`1|[[Type:String|String]]}}|TypeAdv1=true| Don't auto add a child slot to the list if it has a tag that is in this list.
|Targets|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]<[[Type:Bool|Bool]]>}}|TypeAdv2=true| The list of slots of which one will be enabled.
|Targets|{{RootFieldType|SyncList`1|[[Type:FieldDrive`1|FieldDrive`1]]<[[Type:Bool|Bool]]>}}|TypeAdv2=true| The list of slots of which one will be enabled.
|ActiveIndex|Int| The index of the currently active slot.
|ActiveIndex|Int| The index of the currently active slot.
Line 35:
Line 33:
== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=F0PhN-VxPEI BooleanSwitcher tutorial] by [[User:ProbablePrime|ProbablePrime]]
* [https://www.youtube.com/watch?v=F0PhN-VxPEI BooleanSwitcher tutorial] by [[User:ProbablePrime|ProbablePrime]]. May be out of date.
The BooleanSwitcher component can be used to enable and disable a list of Slots depending on an index in the list.
It does so by driving the Active field of the slots.