9.1 Reflection

Scratch solution

View solution

This is just one of many possible solutions:

Solution #1:

Sprite:

whenclickedclearsetpensizeto3setpencolortogotox:0y:100pendownwait1secsgotox:-100y:100wait1secsgotox:-100y:0wait1secsgotox:-100y:0wait1secsgotox:-200y:0wait1secsgotox:-200y:-100wait1secsgotox:0y:-100wait1secsgotox:0y:100penup

Mirror Sprite:

whenclickedclearsetpensizeto3setpencolortogotox:0y:100pendownwait1secsgotox:100y:100wait1secsgotox:100y:0wait1secsgotox:100y:0wait1secsgotox:200y:0wait1secsgotox:200y:-100wait1secsgotox:0y:-100wait1secsgotox:0y:100penup

Solution #2:

Sprite:

whenclickedsetangleto90clearsetpensizeto3setpencolortogotox:0y:0pointindirection0pendownmove100stepsturnangledegreeswait1secsmove100stepsturnangledegreeswait1secsmove100stepsturnangledegreeswait1secsmove100stepsturnangledegreeswait1secsmove100stepsturnangledegreeswait1secsmove200stepsturnangledegreeswait1secsmove100stepswait1secspenup

Mirror Sprite:

whenclickedsetmirror angleto360-angleclearsetpensizeto3setpencolortogotox:0y:0pointindirection0pendownmove100stepsturnmirrorangledegreeswait1secsmove100stepsturnmirrorangledegreeswait1secsmove100stepsturnmirrorangledegreeswait1secsmove100stepsturnmirrorangledegreeswait1secsmove100stepsturnmirrorangledegreeswait1secsmove200stepsturnmirrorangledegreeswait1secsmove100stepswait1secspenup

Back to programming challenge