exists

Given a node, check whether it exists in the scene via uuid.

Source:
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.
Returns:
  • Returns whether the node exists in the scene
Type
boolean