Script Setup
P = (0, 0)
# colors Red and Blue
colR = "\definecolor{r}{rgb}{0.9,0.1,0.1}"
colB = "\definecolor{b}{rgb}{0.17,0.39,0.63}"
# Text checked
txtChecked = "\scalebox{3}{\textcolor{b}{\textbf{☑}}}\scalebox{2}{ \text{ I am checked ☺ } }"
# Text unchecked
txtUnChecked = "\scalebox{3}{\textcolor{r}{\textbf{☐}}}\scalebox{2}{ \text{ I am not checked ☹ } }"
check = true
checkTxt = If( check == true, Text(colB + txtChecked, P, true, true, 1), Text(colR +txtUnChecked, P, true, true, 1) )
c = Circle((3, 4), 2)
e = Ellipse((7, 3), (10, 3), (9, 4))
SetConditionToShowObject(c, check)
SetConditionToShowObject(e, check)