Sounds a bit like you require a step-by-step guidance on every feature, this is not sustainable. It would turn into private tutoring which is beyond the scope of this forum, at least for me.
Have a look at tutorials, what you’re trying to do has been covered too many times. YT is choke full of examples of how to interact with widgets.
In short:
- look into how widgets handle input - keypresses and mouse clicks.
- you can override those behaviours; a native
Image
could override itsonMouseDown
so its surface becomes clickable - or you could have the entire widget override
onMouseButtonDown
so all of its Visible area registers mouse clicks