Click or drag to resize
SpriteBase Properties

The SpriteBase type exposes the following members.

Properties
  NameDescription
Public propertyCurrentState
Retrieves information about the state that the sprite is currently in.
Public propertyCurrentView
If multiple views are visible, this determines which view is currently active.
(Inherited from GeneralRules.)
Public propertyCode exampleItem
Returns information about a specified state of this sprite
Public propertyModulateAlpha
Affects the sprite's visibility.
Public propertyModulateBlue
Affects the output of blue when this sprite is drawn.
Public propertyModulateGreen
Affects the output of green when this sprite is drawn.
Public propertyModulateRed
Affects the output of red when this sprite is drawn.
Public propertyOldPixelX
The horizontal pixel coordinate that the sprite was at on the previous frame
Public propertyOldPixelY
The vertical pixel coordinate that the sprite was at on the previous frame
Public propertyParentLayer
Retrieves information about the layer in which the sprite resides.
(Overrides GeneralRulesParentLayer.)
Public propertyPixelX
Horizontal position of the sprite within the layer rounded toward zero to yield an integer.
Public propertyPixelY
Vertical position of the sprite within the layer rounded toward zero to yield an integer.
Public propertyProposedPixelX
The horizontal coordinate that the sprite is expected to be at on the next frame based on its current position and velocity, rounded toward zero to yield an integer pixel coordinate.
Public propertyProposedPixelY
The vertical coordinate that the sprite is expected to be at on the next frame based on its current position and velocity, rounded toward zero to yield an integer pixel coordinate.
Public propertySolidHeight
How many pixels high is the solid area of this sprite.
Public propertySolidWidth
How many pixels wide is the solid area of this sprite.
Top
See Also