Rotate your device.
Turn off orientation lock in device settings.

0
Immersive Reader

Now the flag is on the top. You need to attach blocks to both of the "when ball hits" blocks to solve this puzzle.

Blocks
Workspace
when ball hits playerwhen ball hits wallbounce ball