How do i make a clickable boolean variable

Is there any way how to make a clickable boolean variable?
Like:
image
image

I don't think so, not without the use of JavaScript. But an alternative I suggest is making it a slider with a min value of 0 and a max value of 1. 0 would mean "false" and 1 would mean "true".

You don't have to use a watcher; just make a button sprite with a WHEN I AM CLICKED script!

Something like this?
untitled script pic 3
Edit: I meant to put true***
untitled script pic 4

untitled script pic
where the two costumes are pictures of a watcher, if you like!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.