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.
on the second page of the enemy's event page have it triggered as a parallel process, and have the command 'wait for move's completion' then have the command 'wait' for however many frames you want, then after that have the local switch turn off, but i wouldn't recommend having this, becuz it can cause alot of lag