//Grade 9 Library V4 //Declarations var DuckFace = createObjectPic("duck.bmp"); //Setup function setup(){ DuckFace.x = 200; //These set the start coordinates for the duck DuckFace.y = 300; } //Main Game function engine(){ DuckFace.draw(); //This tells the duck to draw itself on the screen. And also get sweet social media points :) } //Mouse Click function onClick(){ } //Key presses function keyPress(key){ //To get key number codes }