Question
How do i assign a keyboard function to a buttton created.
How do i assign a keyboard function to a buttton created. I have a game witch if i press SPACE bar somethiong happens. but i want to crate a button on screen tha if i press it it would be the same as pressing the space bar