Is there another way of counting Scores (points) instead of Colliding (destroying)

Hello Everyone!
I was wondering if there is another way to count points instead of Collision (destroying).

For example:

i am not destroying objects in my game i am just changing the color of an object for that i want give 1 point.
If there is no other way than doing colliding (destroying). So how can i do to destroy an object and replace with another object. but i will have several same objects in my scene so on any object i click it destroy and replace with object that i will give. not like when i click all objects replace with other objects. One click one object destroy (the one i clicked on) one object replace.

thanks for those who help.

You don’t need to destroy. Use a combination of mouseOver with mouseButtonDown. Or simply just use a Boolean to see if that object has been clicked on(over) and add points that way.

Alternatively just do as you suggested, destroy the object and immediately replace it with a similar object. I can’t see this being any more resource heavy than other ways (unless maybe your doing hundreds of objects at the same time)

:wink: