Macbook Repair Delhi

7.1.1 Ghost Codehs Direct

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

ghost.setPosition(newX, newY); If you can share or which part you're stuck on, I can give you a precise solution. 7.1.1 ghost codehs

function moveGhost() newY < 40) dy = -dy; 40) dy = -dy

var ghost; var dx = 2; var dy = 1; function start() drawGhost(200, 200); setTimer(moveGhost, 20); var dx = 2

function drawGhost(x, y) ghost = new Group();