Hi! I’ve been trying to get this to work, and it’s relatively simple. I want to know which object a specific object is colliding. In my game, I’m working with Peer-2-Peer. If my object is in collision with a group “Ps”, with many objects, I want to save a string variable with the name of the object from the group colliding with “Star” and then send an event to all clients, using that variable as the extra data.
Best regards,
X
Edit: I’ve seen another topic like this one, but it doesn’t say how to use this “Ps.ObjectName()” method and I want to see how.
Picture of code: