Hello. i have an assignment where i need to have a ball that when starting needs to go either left OR right.
my first thought was to give my “speed” variable at the setup “= random (-3 ||+3)”. But it still starts att different values between -3 and +3 as well as only being able to go one direction when i try to run the code.
wonder if anybody know how to solve this?