Commands:Vertalign

From SMTheming Wiki

Jump to: navigation, search

The vertalign command modifies the vertical alignment of an Actor with respect to its Y position. It will eventually be removed from StepMania in favor of the valign command.

Usage

vertalign,pos

The pos parameter is one of the following values:

  • top: the top of the Actor is placed at its Y position (equivalent to valign,0)
  • middle: the Actor is centered about its Y position (equivalent to valign,0.5)
  • bottom: the bottom of the Actor is placed at its Y position (equivalent to valign,1)

Examples

To place an Actor flush against the bottom of the screen:

vertalign,bottom;y,SCREEN_HEIGHT
Personal tools