Copy link to clipboard
Copied
I have a simple task, it is necessary that when one checkbox is on, the rest are turned off according to the toggle switch principle, how to create this using expressions in After Effects?
You can't. Checkbox controls are read-only and cannot be modified from within the expression. You have to think of another method. Explaining what you are actualyl trying to do might allow us to advise.
Mylenium
Copy link to clipboard
Copied
You can't. Checkbox controls are read-only and cannot be modified from within the expression. You have to think of another method. Explaining what you are actualyl trying to do might allow us to advise.
Mylenium
Copy link to clipboard
Copied
Thank you for answer!
I just wanted to know if there is actually possible, thats a pity that is not 😞
Copy link to clipboard
Copied
If you're trying to simulate a set of radio buttons (only one can be on at a time) a Dropdown Menu Control is often a workable alternative.
Copy link to clipboard
Copied
This works:
if (effect("Checkbox Control 2")("Checkbox") == 1){
0;
}
else{
value
}
As long as Checkbox 2 is not selected (checked), the Checkbox with this expression can be on or off. If you select Checkbox 2, the checkbox with the expression will be turned off.