Copy link to clipboard
Copied
var Bt = new lib.objetos;
this.addChild(Bt);
Bt.x = 275, 5
Bt.y = 200, 5
var child = Bt
this.setChildIndex(child, this.numChildren - 1);
alert(Bt.numChildren)
alert(this.bt18.numChildren)
see the addchild behind the component how to pass it on?
If you are using HTML5 Canvas text components - all components make use of the DOM and not Canvas so they are drawn in an element above the Canvas rendering. So any textinputs will always be above any Canvas content.
Copy link to clipboard
Copied
If you are using HTML5 Canvas text components - all components make use of the DOM and not Canvas so they are drawn in an element above the Canvas rendering. So any textinputs will always be above any Canvas content.