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
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 am attempting to have an object reset to it's origin after it is dropped. My plan is to have a grid of sprites, each one Drag and Drop enabled. When any of the objects are dragged onto a "Hot Zone" and pop-up animation happens. There will be two different Hot Zones" on the screen each with a different animation and would like the sprite reset so users can go back and try the other option. I have successfully created a scene with one of these zones and added an action that returned the sprite to its origin with the "Set Position" action. The sprite does indeed return to its origina with this setup hoever it can no longer be dragged and dropped to any other place on the screen afterwards. Any suggestions would be much appreciated. Thanks!
Develop games in your browser. Powerful, performant & highly capable.
It does sound like it's setting the position unconditionally, meaning it will Set Position every tick.
Create an instance variable "reset" and when this is true, Set Position. Then set it to false afterwards.