Drawing
Sprite Movement
Conditionals
Input
Collisions
100

Changes the image of the sprite

Set animation

100

Controls horizontal position

What is X?

100

Checks is something is true

What is if?

100
Detects if the key was pressed

What is keyWentDown?

100

Checks if two sprites are touching

What is isTouching?

200

Makes something visible

What is visible?

200
Moves an object forwards
What is velocity?
200
This happens if the condition is not met

What is else?

200
Detects if key is down

What is keyDown?

200

Checks if two objects are NOT touching

What is !isTouching?

300

 Changes the size of a sprite

What is sprite.scale?

300

Turns an object

What is rotation?

300

Checks if something is not true

What is the exclamation sign (!) ?

300

Detects if mouse is down

What is mouseDown?

300
Shows the hitbox of a sprite

What is debug?

400

This is repeated infinitely

What is a draw loop?

400

Changes the speed of rotation

What is rotationSpeed?

400

5 < 3

What is false?

400

This gives the x position of the cursor

What is mouseX?

400

Fixes the hitbox of a sprite

What is setCollider?

500

This holds a value, typically a sprite or a coordinate.

What is a variable?

500

A pattern used to continuously update a variable

What is a counter pattern?

500
An expression that evaluates either true or false

What is boolean?

500

This is what the mouseDown("leftclick") returns when the screen is right-clicked.

What is false?

500

In this case, object 1 is located at (200, 200), and object 2 is located at (350, 200).

What are the locations of two objects that DON'T collide?

M
e
n
u