7.1.1 Ghost Codehs Direct

var eye2 = new Circle(8); eye2.setColor("black"); eye2.setPosition(20, -10); ghost.add(eye2);

var eye2 = new Circle(8); eye2.setPosition(220, 190); eye2.setColor("black"); add(eye2); (e.g., blinking eyes, movement, or a mouth): Here’s an example with floating movement : 7.1.1 ghost codehs

ghost.setPosition(x, y); add(ghost);