click

Click the position (center) of a given existing node. You can pass debug to see cursor.

Source:
Example
$$$
.find('Cube_1') // an element in the scene with a name of `Cube_1`
.click(); // clicks the node

 $$$
.find('Cube_1')
.click(true); // you can also pass in `debug` as `true` to see the cursor
Parameters:
Name Type Attributes Default Description
debug boolean <optional>
false

Allows to turn on the visuals for the click action.

Returns:
  • Chainable api by returning the node.
Type
self