Use WASD or the arrow keys to move. You can’t touch the walls and have to get the same coloured keys to unlock the same colour guards. You have to touch the green ball to win and you have to do that in the shortest time you can.
Apologies to my very messy drawing. Here is the 2.0 version: https://scratch.mit.edu/projects/1304945747/