SPRITE(E, [#]n)

Returns a bitmap indicating any edges of the screen the sprite is in contact with:

  • 1=left of screen
  • 2=top of screen
  • 4=right of screen
  • 8=bottom of screen