can we be able to group sprites in a category, so we don’t have to make multiple behaviours for the same output? Like multiple robot sprites could be grouped as “robots” in the collision block
You can use Parent objects for this.
I thought that controlled sprites?
oh wait, this is alpaca, ok, gotcha thanks
Childs have the code of the Parent objects, but they also will output for collisions looking for the Parent
ohwait, Im talking about in behaviour blocks, like raycast, instead of choosing one object at a time, just have a group to choose it saves time and a lot of logiclines
Seems like this could be useful. In most cases you could probably use a parent still
@CodeAlpaca is right, parents are probably the best way to do this. Maybe read this for an overview:
Yeah if you create a parent object and set every object you want as a child then you can select the parent (in the collision behavior) and all the child objects will trigger it.
Grouping sprites into categories for easier behavior application would be a useful feature, especially for managing multiple similar sprites like robots. It could enhance organization and simplify collision handling in projects.