Sprite.rotation

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

Sprite.rotation: Rotation of the sprite, in degrees counter-clockwise.

Example

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