Sprite.image

From MiniScript Wiki
Revision as of 21:47, 12 April 2020 by ZachStrout (talk | contribs)
Jump to navigation Jump to search

Sprite.image: Image displayed by the sprite.

See also: file.loadImage

Example

sp = new Sprite
sp.image = file.loadImage("/sys/pics/Wumpus.png")
display(4).sprites.push sp