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
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 a many sprite in a layout and I need to know which was clicked.
this is de layout
You have 32 sprites or 1 sprite with 32 frames?
Develop games in your browser. Powerful, performant & highly capable.
If you have 32 sprites, just create a global variable and when the user click the flag, turns variable into flag´s name.
If they're all one sprite with seperate frames, On Object Clicked will pick the correct one.
If they're all seperate sprites, add them to a family and On Object Clicked with the family chosen will pick the correct one.
Thancks !!! I change tu 32 frame in a 1 sprite!