Hi could someone take a look at this and tell me whats going on.
The idea is to press space to bring up a selection and choose one of the sprites, let go of the space bar then click the left button to create your choice.
Two things are happening.
Selecting the first one works fine but when you click to select the next one the first one is created on the layer underneath.
The second problem is more puzzling to me. I can select sprites 1 - 4 in order and it does as i would expect, however selecting 4 first means i cant select any of the others.
If i change the code to select with the right button and create with the left then it works as expected.
I had hoped to create some sort of easy to access inventory using the left click only.