How to correctly put a block from a class into a group

How would you put a block from a class in a specific group? Whenever I try to do this, the group becomes the first group shown in blocks, even if it’s not supposed to be. How would I stop this from happening?

Example of how I put block from class into a group:

class Example {
   //% group="ExampleGroup"
   //% blockCombine
   classproperty: any
}
1 Like

You can order the groups that show up in your category by putting an annotation on top of the namespace like this:

//% groups='["Tilemaps", "Tiles", "Events", "Connections", "Camera"]'
namespace tileUtil {
}

Note the use of quotes there! Surrounded in single quotes with each item in double quotes.

1 Like

I thought I already did this, but it seems like I didn’t. My bad.