- Source:
Given a node, check whether it exists in the scene by checking whether it has a uuid
.
Example
$$$
.find('INVALID') // find an element with the name `INVALID`
.exists(); // returns `false` as this node doesn't exist
$$$
.find('Cube_1')
.exists(); // returns `true` as this node exists in the scene.