This question has been asked quite a bit, but unfortunately none of the answers seem to address what I'm looking for.
I'm trying to create a function which will perform an action on a sprite - any sprite. The function will receive the sprite's UID and perform on it accordingly.
Is this possible at all? If so how do I do it?
In general is there a way to do something like this:
Event: player clicked on getObjectByUID(n) -> Action: getObjectByID(n) set invisible
?