in documentation nothing is said about the buttons and how to assign the button1 events without the CGE editor
There is something written on this site about buttons, but nothing is clear:
How to add this to TCastleWindow.The controls?
Where is TCastleWindow located.The controls?
Why does the debugger indicate that button1 is not a function?