Use the mouse to steer the bug. Hold the mouse button down to move. This just demos how to create walls that your sprite can't walk through.