Jump to content

Stan.

Members
  • Content Count

    1
  • Joined

  • Last visited

  1. Currently working on a project where I often have to bring an object to the front in a container. Currently I achieve this with the following code: bringContainerToFront(container) { const parent = container.parent parent.removeChild(container) parent.addChild(container) } Is the a more succinct way that just removing the child and adding it back again? Any advice would be greatly appreciated.
×
×
  • Create New...