Game Development Community

Mutple selectable sprites at same location

by Anthony Rosenbaum · in Torque Game Builder · 05/06/2009 (11:35 am) · 2 replies

If I had two sprites which:
1) both have the same behavior
2) that behavior was designed with an onclick call back
3) both of those sprites are at certain moments allowed to overlap.

Is there a way to 'click' on only one sprite instead of both at the same time?


#1
05/06/2009 (3:25 pm)
Put them at different layers, maybe?
#2
05/06/2009 (10:10 pm)
Can you selectively disable mouse events on one sprite, then turn it back on later?