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
i have the player die and I want it to stop taking input from the mouse
Develop games in your browser. Powerful, performant & highly capable.
You can simply do the following with a Dead variable
+ Player: is not visible (Dead) + System: Dead = 0 <ACTIONS> -> System: Set Dead to 1 + Mouse: On Left button Clicked + System: Dead = 0 <ACTIONS> -> Whatever actions that gets trigged when you click
So when the player died, Dead will turn to "1"... And while dead is not "0" the click command won't get triggered when you click