How do I compare var I want to see if a var is = to true and if so do something
Develop games in your browser. Powerful, performant & highly capable.
Try some beginner tutorials. They will get you up to speed on how to do that and more.
Add event (system > compare value)
VariableName (is equal to) true
If you need a simple example, I can post one :-)