How do I reference a sprite by UID

Get help using Construct 2

Post » Fri Oct 21, 2016 11:18 pm

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
?
B
4
Posts: 3
Reputation: 206

Post » Fri Oct 21, 2016 11:48 pm

gils wrote:Is this possible at all?


No... same like:
Image

you can check Families
Image
B
65
S
23
G
7
Posts: 1,501
Reputation: 10,888


Return to How do I....?

Who is online

Users browsing this forum: blue visionary and 26 guests