I am following the instructions of the Spot the Difference tutotiral to make a seek and find game. However, I'm getting a script error:
Script error in band aid .onAddToScene: Unexpected token +
The code I'm using is:
var clone + this.clone();
clone.setPosition(this.getPostion().x + 298, this.getPostion().y +180.2682889553746);
wade.addSceneObject(clone, true);
Again, what I'm TRYING to do is link a sprite to another so when the orginal sprite is clicked, the second sprite will be added to the scene in another spot.
Ideally, I'd be using two different images for the sprites, but since I can't figure that out, I figured I'd try the cloning feature.
Can someone help?