04-04-shuriken-toss-pt-1.js 337 B

1234567
  1. /** This lesson is an extension of the previous activities - instead of a simple moveTo function,
  2. * ninjas will now be using a moveToObject() function. But be careful, with a more complex function
  3. * comes more complex ways for it to be used!
  4. **/
  5. //***********Target Object - Mouse Click Event************//
  6. star.moveToObject($this);