Skip to main content

CharacterAppearanceYOffset

Callable

  • CharacterAppearanceYOffset(C: Character, HeightRatio: number, IgnoreUpButton?: boolean): number

  • Repositions the character vertically towards the bottom of the canvas (the 'floor'), since shorter characters will be shrunk towards the top HeightRatioProportion controls how much of this offset applies with 1 (max) positioning them on the "floor" and 0 (min) leaving them up at the 'ceiling'


    Parameters

    • C: Character

      The character to reposition

    • HeightRatio: number

      The character's height ratio

    • optionalIgnoreUpButton: boolean

      Whether or not to ignore the up button status

    Returns number

    • The amounnt to move the character along the Y co-ordinate