Green flag WASD or Arrow Keys to move E to interact (gotta be touching the thing that you want to interact with, to interact)
This was actually for an assessment I had in school, about automatic sensor things (the teacher thinks that everyone is a noob at scratch, which they are). Now, I turned it into a horror game... well, not really that horror, because I'm too lazy to code for today.