Find a node with UUID

Hello everybody.

how can I find a node in the node tree with UUID?
I use cc.find() for name based search. is there any equivalent for UUID based search?

Thanks.

I haven’t tried, but if you have the UUID, I assume you could get the name to then do your find? Not totally optimal.

Yes, I’ve make my own function to find node with UUID.
Thanks!

Can you post your solution here? I’m having the same problem and the API isn’t super well documented.

I have looped through all the node tree and added nodes to an object with keys are uuid’s (like associated array). Then I used it for searching. Far from ideal :slight_smile: