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
Hello:
I'm stuck on very simple things. I need clickable invisible hotspots on the screen. I've put a button but when it is invisible it doesn't work. So I've put a sprite and made it opacity 0, but how do I detect an event if the sprite is clicked or touched? I don't see a way to do this.
Thanks for suggestions.
Right-click in the layout > insert new object > mouse or touch
Then in the event sheet it's on mouse clicked / on touched
Yes of course, thanks. Its easy when you know how...
Another question if you don't mind... is there a way to make this respond to either a mouse click or touch?
Add the condition on mouse button clicked
Right click on event, select to make it an OR block
Add the condition on any touch start
Will now be on mouse click OR touch
Develop games in your browser. Powerful, performant & highly capable.
I think you can only use Touch plugin. Touch events work with mouse too.
Got it, thank you!