CyberSlug Rules!

Beginner Programming CMPS060

Prof. Paulo Franca

Home

Syllabus

Login

Objects

Download

Staff only

float x=50,y=50;
Circle Head;
Square trunk, leftleg,rightleg,leftarm,rightarm;
Stage body;
body.place(x,y);
body.show();
x=ask("Where is the new x?");
y=ask("Where is the new y?");
body.erase();
body.place(x,y);
body.show