This command will return an integer value of the image number used by the specified sprite. The parameter should be specified using an integer value.

Syntax: 
Return Integer=SPRITE IMAGE(Sprite Number)