What Wick Editor Version are you using?
1.19.3
Describe the Problem
What I want to do is create basically a new path object because I don’t exactly want to use the clone function because I don’t want unnecessary clips
What have you tried so far?
So far I have basically used console.log(this)
and found that I should be able to use this code
this._parent._children[this._parent._children.length] = new this.view.paper.Path({
segments: [[20, 20], [80, 80], [140, 20]],
fillColor: 'black',
closed: true
});
Its supposed to go to the parent of this
which is the frame. Then it goes to the children of that frame to add a new object with the new this.view.paper.Path
When I play the project nothing happens, but if I open the outliner/hierarchy it just breaks the editor.
Do you have a Wick Editor File that we can see? Optional*
My Project10-15-2021_18-48-52.wick (1.6 KB)