Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
That's because the enemies are triggered by a sensor. Refer to the XAS demo. For example: In the demo, and look at map Demonstration->Basic ->MAP-01. You'll see in the transfer event, there is a sensor activated via variable. :thumb: