Make a small ellipse or rect at position x = 0 so that it begins on the left side of your screen. Using variable named button and the system variable
mouseIsPressed, write a program that makes your ellipse or rect only move across the screen while you press your mouse.
Save Sketch as: MoveWhenPressed
Go Back to Logical Operators