move() these methods move the current node to a new destination.
move
move(destination) moves the current node to a new destination.
Parameters
- destination
- A ScriptNode object that represents the new destination.
Returns
A boolean. True if the move was successful, false otherwise.
move
move(destination) moves the current node to a new destination.
Parameters
- destination
- A string that represents the path for the move.
Returns
A boolean. True if the move was successful, false otherwise.