All compiler errors have to be fixed before you can enter playmode!

i’m trying to hit the play button but immediately it says this-------

All compiler errors have to be fixed before you can enter playmode! UnityEditor.SceneView:ShowCompileErrorNotification()

please help

The script code you have in your game has a problem. This prevents Unity from compiling the script. Do what the error message says, which is fix the errors. The console log will probably tell you more about the problems in the code.

Check the console, the error is logged there. It usually displays the exact line where the problem is happening, also you can double click the error to go to the line of code.