Ownership might have been a poorly chosen word. But yes, if you use an id variable then you can compare the ID. Or as I said you can use linking that wouldn’t require setting up an ID. IDK if you know what linking is.
https://wiki.gdevelop.io/gdevelop5/all-features/linked-objects/reference/#linked-objects
When you’re copying the variables between objects, you need to either specify let’s say the source of the projectile object as player or if it’s part of an instance or group then you would need some other condition like a mouse click or a collision or some other condition.
Here’s an example that uses 4 instances of enemy and links the projectile to the object that’s picked at the time using the cursor is on condition. It’s the same concept, instead of picking the object with the id variable, it’s picked with the link take into account condition which is found under other actions. Linking is easier bc it doesn’t take the same setup.
Try it:
source: It’s the same project, so there are leftover objects in the project.
