here's an example
space fires, arrow keys move
the only relevant part is On Space Pressed, and the two actions there (the rest is just there to make it look cooler)
after I spawn an object, it is picked, and so any subsequent actions within that event for that objecttype, will refer to that specific object.
The ghost shooter tutorial really is the best intro to construct imo, because it covers all the basics.