Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
How would I check whether a trigger has been triggered or not using Python script exclusively?
Such as OnAnyClick (MouseKeyboard object).
Develop games in your browser. Powerful, performant & highly capable.
I think this is a limitation in Construct's Python integration. The best thing to do is put a python script as a subevent to the trigger event. Python scripts run where events run, so you can have a kind of script-and-events meld.
Hmm, alternatively I could use trigger events to alter Python variables and then check those in the script. That way I can preserve large blocks of script without breaking it up with events.