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