onGUI () does not work

does anyone know how to solve this?
if so, tell me the reason why this is happening and how to fix it.
16581-ongui.png

Capitalization matters. It should be OnGUI (). Due to the capitalization difference, Unity is interpreting your function as a custom function rather than overriding the built in OnGUI () function.

Hello,

You should probably read some examples and documentation :slight_smile:
In programming capitols matter, and OnGUI, like any other function starts with a capitol

Hope this helps,
Benproductions1