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.
edit: Ninja'd