Skip to main content

CharacterAppearanceXOffset

Callable

  • CharacterAppearanceXOffset(C: Character, HeightRatio: number): number

  • Repositions the character horizonally to centre them, since shorter characters will shrink towards the left


    Parameters

    • C: Character

      The character to reposition

    • HeightRatio: number

      The character's height ratio

    Returns number

    • The amount to move the character along the X co-ordinate