Parent: object
Inherits from sceneobject
Displays a sprite in screen coordinates instead of 3D coordinates. For example you can display a sprite at the top right of the screen by setting the x,y position to 0,0.

height float
Height of the sprite in pixels
width height
Width of the sprite in pixels
rotation float
Rotate the sprite
randomrotation boolean
Randomly rotate the sprite 360
Alignment
Instead of specifying the position of the sprite on the screen in x,y screen coordinates is possible to use alignment so that a sprite always sits at the bottom of the screen regardless of the pixel height of the PC's screen.
valign string
Vertical alignment with 'center' being the centre of the screen and likewise for 'top' and 'bottom'. If 'none' is used then the 'y' coordinate specifies the sprite y coordinate.
Enumerated type of:
center
top
bottom
none
halign
Horizontal alignment with 'center' being the centre of the screen and likewise for 'left' and 'right'. If 'none' is used then the 'x' coordinate specifies the sprite x coordinate.
left
center
right
none