
CSD U3L17 Mouse Input Overview
Presentation
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Easy
Patrick Trejo
Used 4+ times
FREE Resource
15 Slides • 15 Questions
1
Unit 3
Lesson 17 - Mouse Input
2
17.1 Overview
You learn several ways to take mouse input. You also expand your understanding of conditionals to include else, which allow for the computer to run a certain section of code when a condition is true, and a different section of code when it is not.
3
Multiple Choice
In lesson 17, you will learn several ways to take mouse input.
True
False
4
17.2 If/Else Predict
When you press the spacebar down, the balloon will increase and then decrease.
5
Multiple Choice
When you press the spacebar down, the balloon will increase and then decrease. This is an example of an if/else conditional.
True
False
6
17.3 If/Else Statements
7
Multiple Choice
An example of an If/Else statements: You may say that they want one animation if the sprite is moving to the left and a different animation if the sprite is moving to the right.
True
False
8
17.4 Reverse the Gears
Make the gears spin the opposite way when the space bar is being pressed.
9
Multiple Choice
In 16.4 reverse the gears, make the gears spin the opposite way when the space bar is not being pressed by adding else in the conditional.
True
False
10
17.5 - Control the Gears
Make the gears spin the opposite way when there is no user input.
11
Multiple Choice
To make the gears move in the opposite direction when there is no user input,
add an else, three rotations, and three counter patterns.
True
False
12
17.6 - Mouse Clicks
Add code that checks whether the mouse is being pressed.
13
Multiple Choice
If the mouse is down, move the balloon up, otherwise move it down by using if else conditional, two y - properties and two counter patterns.
True
False
14
17.7 - World.mouseX
Add an else to make the mixer shake when the mouse is on the other side of the screen.
15
Multiple Choice
Add an else to make the mixer shake when the mouse is on the other side of the screen.
True
False
16
17.8a - Ladybug Walk
Add code using the counter pattern to increase bug.x to make it move. The bug should only move if the mouse pointer is near the bottom of the screen.
17
Multiple Choice
Add code using the counter pattern to increase bug.x to make it move. The bug should only move if the mouse pointer is near the bottom of the screen.
True
False
18
17.8b - Ghost Moving with the Mouse
Write at least two if-statements to check for the location of the mouse. Make the ghost move in a different direction for each mouse location.
19
Multiple Choice
Write at least two if-statements to check for the location of the mouse. Make the ghost move in a different direction for each mouse location.
True
False
20
17.9 - Creature Shake
Change the code so that the creature only shakes when the mouse is pressed. Change the code so the directions only show when the user is not pressing the mouse.
21
Multiple Choice
Change the code so that the creature only shakes when the mouse is pressed. Change the code so the directions only show when the user is not pressing the mouse.
True
False
22
17.10a - Twin Spirals
Add code so that the spirals switch what they are doing when the mouse is pressed down.
23
Multiple Choice
Add code so that the spirals switch what they are doing when the mouse is pressed down.
True
False
24
17.10b - Mouse Input Bee
You are going to make a bee sprite follow the mouse around the game area.
25
Multiple Choice
You are going to make a bee sprite follow the mouse around the game area.
True
False
26
17.10c - Mouse Input Bees
You are going to make more than one bee follow the mouse around the game area.
27
Multiple Choice
You are going to make more than one bee follow the mouse around the game area.
True
False
28
17.10d - Salt Shaker Challenge
Add a conditional that checks if mouseDidMove.
If the conditional is true, rotate the salt sprite randomly to the left or right.
29
Multiple Choice
Add a conditional that checks if mouseDidMove.
If the conditional is true, rotate the salt sprite randomly to the left or right.
True
False
30
Open Ended
How can you use if else statements in game design?
Unit 3
Lesson 17 - Mouse Input
Show answer
Auto Play
Slide 1 / 30
SLIDE
Similar Resources on Wayground
22 questions
Adaptations & Variations LT 5
Presentation
•
6th - 8th Grade
23 questions
Computer Images
Presentation
•
6th - 8th Grade
22 questions
Evolution of Computer
Presentation
•
5th - 7th Grade
23 questions
Energy Transfer and Temperature
Presentation
•
6th - 8th Grade
23 questions
Elements of a Story
Presentation
•
6th - 8th Grade
23 questions
Human Impact on the Environment
Presentation
•
6th - 8th Grade
24 questions
Drawing Conclusion 8th grade STAAR Reading Camp
Presentation
•
6th - 8th Grade
22 questions
Types of Living Things
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
10 questions
Cinco de Mayo Trivia Questions
Interactive video
•
3rd - 5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
13 questions
Cinco de mayo
Interactive video
•
6th - 8th Grade
20 questions
Math Review
Quiz
•
3rd Grade
30 questions
GVMS House Trivia 2026
Quiz
•
6th - 8th Grade