In the run and jump kit for flash, code is used to determine if a region is water by checking of the word "water" is in its name. I haven't been able to find equivalent code for iOS, and without it it is impossible to use events to detect if an actor enters a region of a type. I am having to hard code collision events for every single "water" region in the game, leaving me with a behavior with about 30 identical events for every individual region shape...
Does anyone know how I could go about detecting regions of a type, rather than having to check for every specific region in the game individually?