Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
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
Can I create a function that works like the "duplicate button (ctrl + c> ctrl + v)" for a sprite, inheriting size, color and position properties?
Develop games in your browser. Powerful, performant & highly capable.
Save Sprite.AsJSON in a variable. Then create a new sprite instance, and do "Sprite Set from JSON", it will copy all properties from the original sprite, including position, angle etc.
You can use the "AsJSON" expression to retrieve all properties from an object serialized in JSON, and then use the "Set from JSON" action to load said properties an another object.