Hi guys,
At the moment I have different objects with a destroy button.
When clicking the object the button is conected to an in whichs hitbox I am at the moment should be deleted.
At the moment the deletion is working but it is not specified to the object I am interacting with at the moment.
How can I set the item in whichs hitbox I am to a vatiable abd use the variable later to specify which object should be deleted?