HTML5 Canvas - Nested button to move parent
I have a graphic symbol which contains a nested button. When clicked, I want that button to move the parent graphic symbol to a location X Y.
This is not working, though the nested button gets it's pointer cursor.
this.closeLens.addEventListener("click", closeThisLens.bind(this));
function closeThisLens()
{
this.parent.x = -200;
this.parent.y = -850;
}