Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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 was wondering what is the best way to make an action, where you click anywhere, but.
I have a layer where my sprites are, and a layer for my UI. I want to place sprites on any click on the first layer, but to skip placing if the click is on the UI layer.
Use "on mouse clicked" UI element sprite
and then right click it and choose "invert"
now your actions will only occur if you don't click a UI element
Will invert "On Mouse Clicked on UI" will get all other clicks, or will get when you don't click on UI, in other words every time u don't click?
I think I've tested that but i will again this evening...
Hope it will work
You cant invert On Left Button Clicked On condition.
Anyone any ideas?
Develop games in your browser. Powerful, performant & highly capable.
I'm interested in this as well
anyone any ideas?
Could you try on Left button is over object & on left mouse button clicked.
(This event if for hud clicked on)
Mouse is over object
mouse is clicked Desired result
mouse is 'not' over object
Yeah that makes perfect sense