As you suggested, this is the code that worked for me.
LASERBALL IS A SPRITE
System | on start of layout | LASERBALL | set angle to 360dg
LASERBALL | is outside layout | LASERBALL set angle toward ( player.X, player.Y)
System every 8 secs | System | create object LASERBALL on layer | at (1500,(Random(1024)))