I have a sprite and i assign a tag to it to identify the number of that sprite, but i also want to assign one more tag which shows the category of sprite.
So when i click on sprite both the tags value is transferred to new scene for the further operation…
So is there a way to assign more than one tag or some different way to assign multiple values to a sprite…
You can set a tag and a name. A tag is an integer and a name is a string.
Additionally you can set user-data on the node. This is just a void pointer, so you can add anything you want: values, strings, structs, containers etc.