I cannot get the pinkAlien to move to the correct location. I can move the greenAlien to that location by changing the numbers in the var. I have checked the solution and tried those numbers but I still cannot get it to move from the far left side of the screen. Can you help?
Hi Kathy,
For this bubble, you only need to add one line of code to get the pinkAlien to shake like the greenAlien. The code should be the same as the greenAlien with the exception of the sprite name.
Karen
Thank you Karenma, I got it to shake but I cannot get it to move to the right side of the screen.
I am able to move the green alien to the right side of the screen using the coordinates but even if I put the same coordinates into the pinkAlien it will not
move to the right side of the screen.
Thank you for your quick response.
Hmmm did you maybe change something from the original code that was there? The block that sets the pink alien on the right side of the screen is line 10. It should read something like this:
var pinkAlien = createSprite(300, 200);
(or the block equivalent). The 300 number is the x value of the alien which would put it on the right side of the screen.
Then, s long as that is correct, as @karenma suggests, adding a line of code that is the same as line 21, but with the name of the pink alien should get it to shake, completing the challenge.
Does this help or am I missing something completely? (totally possible … lol)
Mike