Click the little square in the middle.
Move so that you neither touch the walls nor get hit by any of the enemy blocks.
If you make it to 18 seconds, you are doing brilliantly!
Modified version of source:
Escapa!