Working with UniqueID

Hi, if I know the UniqueID of a concretre object (in my case a line - by using CreateLines). How can I select this object, this instance and then work with it? I mean something like this:
SelectObjectByUniqueID(777).dispose(); Thanks for your time.

https://doc.babylonjs.com/api/classes/babylon.scene#getmeshbyuniqueid

1 Like