Hi,
I am trying to run the code below, but it doesn’t work at all. Everytime I try to print selection.items on the console, it returns an empty array. Probably because locked nodes aren’t allowed to be handled. Not even a single error line has shown up. Would somebody help me out?
function unlockGrid(selection){
selection.items.forEach((e) => {
e.locked = false;
});
}