It depends on the size but sometimes you have to send an actor to the back to select the one underneath ... as GS layers them in the same order you add them.
Fogelberg said: In game.. dang. I thought so. I wanted to avoid spawning a new actor since it's pretty processor intensive.
Anyway, thanks for the help.
well you can have it offscreen send it to the front , and then whenever you need it change the position to onscreen. So it will always be in front, just not there untill you need it, and with no spawning
John: Yes that could work though I would need to inherit the current attributes from the first actor to the "recycled" one, or else the new actor woulnd't know what to do. Ok I understand the method. Thanks!
Comments
It depends on the size but sometimes you have to send an actor to the back to select the one underneath ... as GS layers them in the same order you add them.
I wanted to avoid spawning a new actor since it's pretty processor intensive.
Anyway, thanks for the help.