Use the arrow keys to move to the gray button. Make sure to avoid the red! You can climb the black pillars.
Thank you Spaermentai, as I have used the code for the moving part and the sensor part, please make sure to see his projects by searching up Spaermentai